--- linuxsampler/trunk/src/engines/AbstractEngine.h 2009/10/23 17:53:17 2012 +++ linuxsampler/trunk/src/engines/AbstractEngine.h 2009/10/25 22:22:52 2015 @@ -79,8 +79,10 @@ AudioOutputDevice* pAudioOutputDevice; + friend class AbstractVoice; friend class AbstractEngineChannel; template friend class EngineChannelBase; + template friend class VoiceBase; protected: ArrayList engineChannels; ///< All engine channels of a Engine instance. @@ -116,6 +118,7 @@ virtual void ProcessNoteOn(EngineChannel* pEngineChannel, Pool::Iterator& itNoteOnEvent) = 0; virtual void ProcessNoteOff(EngineChannel* pEngineChannel, Pool::Iterator& itNoteOffEvent) = 0; virtual void ProcessControlChange(EngineChannel* pEngineChannel, Pool::Iterator& itControlChangeEvent) = 0; + virtual int GetMinFadeOutSamples() = 0; private: static std::map > engines;