use new applyRelease()-method

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@520 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2007-08-06 13:29:54 +00:00
parent 02433380c6
commit 8cdcbfcc05
3 changed files with 31 additions and 0 deletions

View File

@@ -692,6 +692,8 @@ void tripleOscillator::playNote( notePlayHandle * _n, bool )
osc_l->update( buf, frames, 0 );
osc_r->update( buf, frames, 1 );
applyRelease( buf, _n );
getInstrumentTrack()->processAudioBuffer( buf, frames, _n );
delete[] buf;

View File

@@ -111,6 +111,11 @@ public:
virtual QString nodeName( void ) const;
virtual f_cnt_t desiredReleaseFrames( void ) const
{
return( 128 );
}
protected slots:
void updateAllDetuning( void );