250 |
return 0; |
return 0; |
251 |
} |
} |
252 |
|
|
253 |
virtual int MaxVoices() OVERRIDE { return pVoicePool->poolSize(); } |
virtual int MaxVoices() OVERRIDE { |
254 |
|
return (int) pVoicePool->poolSize(); |
255 |
|
} |
256 |
|
|
257 |
virtual void SetMaxVoices(int iVoices) throw (Exception) OVERRIDE { |
virtual void SetMaxVoices(int iVoices) throw (Exception) OVERRIDE { |
258 |
if (iVoices < 1) |
if (iVoices < 1) |
1204 |
// steal oldest voice on the oldest key from any other engine channel |
// steal oldest voice on the oldest key from any other engine channel |
1205 |
// (the smaller engine channel number, the higher priority) |
// (the smaller engine channel number, the higher priority) |
1206 |
EngineChannelBase<V, R, I>* pSelectedChannel; |
EngineChannelBase<V, R, I>* pSelectedChannel; |
1207 |
int iChannelIndex; |
ssize_t iChannelIndex; |
1208 |
VoiceIterator itSelectedVoice; |
VoiceIterator itSelectedVoice; |
1209 |
|
|
1210 |
#if CONFIG_DEVMODE |
#if CONFIG_DEVMODE |