/[svn]/linuxsampler/trunk/src/Sampler.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/Sampler.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 220 by schoenebeck, Wed Jul 28 14:17:29 2004 UTC revision 221 by schoenebeck, Fri Aug 20 17:25:19 2004 UTC
# Line 85  namespace LinuxSampler { Line 85  namespace LinuxSampler {
85               *               *
86               * @param MidiChannel - MIDI channel to connect to               * @param MidiChannel - MIDI channel to connect to
87               */               */
88              void SetMidiInputChannel(MidiInputDevice::MidiInputPort::midi_chan_t MidiChannel);              void SetMidiInputChannel(MidiInputPort::midi_chan_t MidiChannel);
89    
90              /**              /**
91               * Connect this sampler channel to a MIDI input triplet.               * Connect this sampler channel to a MIDI input triplet.
92               *               *
93               * @param pDevice - MIDI input device to connect to               * @param pDevice - MIDI input device to connect to
94               * @param MidiPort - MIDI port to connect to               * @param iMidiPort - MIDI port to connect to
95               * @param MidiChannel - optional: MIDI channel on which the               * @param MidiChannel - optional: MIDI channel on which the
96               *                      sampler channel should listen to               *                      sampler channel should listen to
97               *                      (default: listen on all MIDI channels)               *                      (default: listen on all MIDI channels)
98               */               */
99              void SetMidiInput(MidiInputDevice* pDevice, int MidiPort, MidiInputDevice::MidiInputPort::midi_chan_t MidiChannel = MidiInputDevice::MidiInputPort::midi_chan_all);              void SetMidiInput(MidiInputDevice* pDevice, int iMidiPort, MidiInputPort::midi_chan_t MidiChannel = MidiInputPort::midi_chan_all);
100    
101              /**              /**
102               * Returns the engine that was deployed on this sampler channel.               * Returns the engine that was deployed on this sampler channel.
# Line 112  namespace LinuxSampler { Line 112  namespace LinuxSampler {
112               * @returns  The MIDI input channel on which the sampler               * @returns  The MIDI input channel on which the sampler
113               *           channel is listening to.               *           channel is listening to.
114               */               */
115              MidiInputDevice::MidiInputPort::midi_chan_t GetMidiInputChannel();              MidiInputPort::midi_chan_t GetMidiInputChannel();
116    
117              /**              /**
118               * Returns the MIDI input port number to which this sampler               * Returns the MIDI input port number to which this sampler
# Line 151  namespace LinuxSampler { Line 151  namespace LinuxSampler {
151             ~SamplerChannel();             ~SamplerChannel();
152    
153              /** Getting MIDI input device port given its index number. */              /** Getting MIDI input device port given its index number. */
154              MidiInputDevice::MidiInputPort* GetMidiInputDevicePort(int MidiPort);              MidiInputPort* GetMidiInputDevicePort(int iMidiPort);
155    
156              Sampler*           pSampler;              Sampler*           pSampler;
157              Engine*            pEngine;              Engine*            pEngine;
158              AudioOutputDevice* pAudioOutputDevice;              AudioOutputDevice* pAudioOutputDevice;
159              MidiInputDevice*   pMidiInputDevice;              MidiInputDevice*   pMidiInputDevice;
160              int                midiPort;              int                midiPort;
161              MidiInputDevice::MidiInputPort::midi_chan_t midiChannel;              MidiInputPort::midi_chan_t midiChannel;
162              int                iIndex;              int                iIndex;
163    
164              friend class Sampler;              friend class Sampler;

Legend:
Removed from v.220  
changed lines
  Added in v.221

  ViewVC Help
Powered by ViewVC