54 |
// implementation of abstract methods derived from interface class 'LinuxSampler::EngineChannel' |
// implementation of abstract methods derived from interface class 'LinuxSampler::EngineChannel' |
55 |
virtual void PrepareLoadInstrument(const char* FileName, uint Instrument); |
virtual void PrepareLoadInstrument(const char* FileName, uint Instrument); |
56 |
virtual void LoadInstrument(); |
virtual void LoadInstrument(); |
57 |
|
virtual void Reset(); |
58 |
virtual void SendNoteOn(uint8_t Key, uint8_t Velocity); |
virtual void SendNoteOn(uint8_t Key, uint8_t Velocity); |
59 |
virtual void SendNoteOff(uint8_t Key, uint8_t Velocity); |
virtual void SendNoteOff(uint8_t Key, uint8_t Velocity); |
60 |
virtual void SendPitchbend(int Pitch); |
virtual void SendPitchbend(int Pitch); |
61 |
virtual void SendControlChange(uint8_t Controller, uint8_t Value); |
virtual void SendControlChange(uint8_t Controller, uint8_t Value); |
62 |
virtual bool StatusChanged(); |
virtual bool StatusChanged(bool bNewStatus = false); |
63 |
virtual float Volume(); |
virtual float Volume(); |
64 |
virtual void Volume(float f); |
virtual void Volume(float f); |
65 |
virtual uint Channels(); |
virtual uint Channels(); |
67 |
virtual void DisconnectAudioOutputDevice(); |
virtual void DisconnectAudioOutputDevice(); |
68 |
virtual void SetOutputChannel(uint EngineAudioChannel, uint AudioDeviceChannel); |
virtual void SetOutputChannel(uint EngineAudioChannel, uint AudioDeviceChannel); |
69 |
virtual int OutputChannel(uint EngineAudioChannel); |
virtual int OutputChannel(uint EngineAudioChannel); |
70 |
|
virtual void Connect(MidiInputPort* pMidiPort, midi_chan_t MidiChannel); |
71 |
|
virtual void DisconnectMidiInputPort(); |
72 |
|
virtual MidiInputPort* GetMidiInputPort(); |
73 |
|
virtual midi_chan_t MidiChannel(); |
74 |
virtual String InstrumentFileName(); |
virtual String InstrumentFileName(); |
75 |
virtual String InstrumentName(); |
virtual String InstrumentName(); |
76 |
virtual int InstrumentIndex(); |
virtual int InstrumentIndex(); |
89 |
float* pOutputRight; ///< Audio output channel buffer (right) |
float* pOutputRight; ///< Audio output channel buffer (right) |
90 |
int AudioDeviceChannelLeft; ///< audio device channel number to which the left channel is connected to |
int AudioDeviceChannelLeft; ///< audio device channel number to which the left channel is connected to |
91 |
int AudioDeviceChannelRight; ///< audio device channel number to which the right channel is connected to |
int AudioDeviceChannelRight; ///< audio device channel number to which the right channel is connected to |
92 |
|
MidiInputPort* pMidiInputPort; ///< Points to the connected MIDI input port or NULL if none assigned. |
93 |
|
midi_chan_t midiChannel; ///< MIDI channel(s) on which this engine channel listens to. |
94 |
RingBuffer<Event>* pEventQueue; ///< Input event queue. |
RingBuffer<Event>* pEventQueue; ///< Input event queue. |
95 |
RTList<Event>* pEvents; ///< All engine channel specific events for the current audio fragment. |
RTList<Event>* pEvents; ///< All engine channel specific events for the current audio fragment. |
96 |
RTList<Event>* pCCEvents; ///< All control change events for the current audio fragment on this engine channel. |
RTList<Event>* pCCEvents; ///< All control change events for the current audio fragment on this engine channel. |