added support for transition-frames for monophonic instruments

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@521 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2007-08-08 00:25:18 +00:00
parent 8cdcbfcc05
commit 0b799fc3b1
4 changed files with 225 additions and 72 deletions

View File

@@ -105,6 +105,15 @@ public:
return( FALSE );
}
// some monophonic instruments need a certain number of frames for a
// transition between notes - such instruments can re-implement this
// method for returning how many frames they at least like to have for
// transition
virtual f_cnt_t desiredTransitionFrames( void ) const
{
return( 0 );
}
inline virtual bool notePlayHandleBased( void ) const
{
return( TRUE );