new distortion-class and other improvements

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@445 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2006-12-20 23:35:36 +00:00
parent f4ab55bce5
commit d8b005b0d4
6 changed files with 77 additions and 25 deletions

View File

@@ -383,7 +383,7 @@ int notePlayHandle::index( void ) const
constNotePlayHandleVector notePlayHandle::nphsOfInstrumentTrack(
const instrumentTrack * _it )
const instrumentTrack * _it, bool _all_ph )
{
const playHandleVector & phv = _it->eng()->getMixer()->playHandles();
constNotePlayHandleVector cnphv;
@@ -394,7 +394,7 @@ constNotePlayHandleVector notePlayHandle::nphsOfInstrumentTrack(
const notePlayHandle * nph =
dynamic_cast<const notePlayHandle *>( *it );
if( nph != NULL && nph->m_instrumentTrack == _it &&
nph->released() == FALSE )
( nph->released() == FALSE || _all_ph == TRUE ) )
{
cnphv.push_back( nph );
}