added instrument::applyRelease(...)

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@519 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2007-08-06 13:29:21 +00:00
parent 83f339852d
commit 02433380c6
2 changed files with 27 additions and 0 deletions

View File

@@ -49,6 +49,7 @@
#include "plugin.h"
#include "mixer.h"
// forward-declarations
@@ -131,6 +132,11 @@ protected:
return( m_instrumentTrack );
}
// instruments may use this to apply a soft fade out at the end of
// notes - method does this only if really less or equal
// desiredReleaseFrames() frames are left
void applyRelease( sampleFrame * buf, const notePlayHandle * _n );
private:
instrumentTrack * m_instrumentTrack;