40 |
uiMidiProgram = 0; |
uiMidiProgram = 0; |
41 |
bProgramChangeReceived = bMidiBankMsbReceived = bMidiBankLsbReceived = false; |
bProgramChangeReceived = bMidiBankMsbReceived = bMidiBankLsbReceived = false; |
42 |
iMidiInstrumentMap = NO_MIDI_INSTRUMENT_MAP; |
iMidiInstrumentMap = NO_MIDI_INSTRUMENT_MAP; |
43 |
|
uiVoiceCount = 0; |
44 |
|
uiDiskStreamCount = 0; |
45 |
ResetMidiRpnController(); |
ResetMidiRpnController(); |
46 |
} |
} |
47 |
|
|
187 |
return (bMidiRpnReceived) ? (uiMidiRpnMsb << 8) | uiMidiRpnLsb : -1; |
return (bMidiRpnReceived) ? (uiMidiRpnMsb << 8) | uiMidiRpnLsb : -1; |
188 |
} |
} |
189 |
|
|
190 |
|
uint EngineChannel::GetVoiceCount() { |
191 |
|
return uiVoiceCount; |
192 |
|
} |
193 |
|
|
194 |
|
void EngineChannel::SetVoiceCount(uint Voices) { |
195 |
|
uiVoiceCount = Voices; |
196 |
|
} |
197 |
|
|
198 |
|
uint EngineChannel::GetDiskStreamCount() { |
199 |
|
return uiDiskStreamCount; |
200 |
|
} |
201 |
|
|
202 |
|
void EngineChannel::SetDiskStreamCount(uint Streams) { |
203 |
|
uiDiskStreamCount = Streams; |
204 |
|
} |
205 |
|
|
206 |
void EngineChannel::AddFxSendCountListener(FxSendCountListener* l) { |
void EngineChannel::AddFxSendCountListener(FxSendCountListener* l) { |
207 |
llFxSendCountListeners.AddListener(l); |
llFxSendCountListeners.AddListener(l); |
208 |
} |
} |