--- linuxsampler/trunk/src/engines/gig/Voice.h 2012/03/08 19:40:14 2326 +++ linuxsampler/trunk/src/engines/gig/Voice.h 2012/03/10 16:16:14 2327 @@ -4,7 +4,7 @@ * * * Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * * Copyright (C) 2005 - 2008 Christian Schoenebeck * - * Copyright (C) 2009 - 2011 Christian Schoenebeck and Grigor Iliev * + * Copyright (C) 2009 - 2012 Christian Schoenebeck and Grigor Iliev * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -55,6 +55,7 @@ virtual ~Voice(); void SetOutput(AudioOutputDevice* pAudioOutputDevice); void SetEngine(LinuxSampler::Engine* pEngine); + void CalculateFadeOutCoeff(float FadeOutTime, float SampleRate); protected: virtual SampleInfo GetSampleInfo();