--- linuxsampler/trunk/src/engines/gig/Engine.h 2005/03/17 19:54:51 472 +++ linuxsampler/trunk/src/engines/gig/Engine.h 2005/03/17 20:13:08 473 @@ -122,7 +122,7 @@ void ProcessControlChange(EngineChannel* pEngineChannel, Pool::Iterator& itControlChangeEvent); void ProcessSysex(Pool::Iterator& itSysexEvent); Pool::Iterator LaunchVoice(EngineChannel* pEngineChannel, Pool::Iterator& itNoteOnEvent, int iLayer, bool ReleaseTriggerVoice, bool VoiceStealing); - void StealVoice(EngineChannel* pEngineChannel, Pool::Iterator& itNoteOnEvent); + int StealVoice(EngineChannel* pEngineChannel, Pool::Iterator& itNoteOnEvent); void FreeVoice(EngineChannel* pEngineChannel, Pool::Iterator& itVoice); void FreeKey(EngineChannel* pEngineChannel, midi_key_info_t* pKey); void ResetSynthesisParameters(Event::destination_t dst, float val); @@ -146,6 +146,8 @@ uint8_t GSCheckSum(const RingBuffer::NonVolatileReader AddrReader, uint DataSize); void AdjustScale(int8_t ScaleTunes[12]); + void ReleaseAllVoices(EngineChannel* pEngineChannel, Pool::Iterator& itReleaseEvent); + void KillAllVoices(EngineChannel* pEngineChannel, Pool::Iterator& itKillEvent); }; }} // namespace LinuxSampler::gig