diff --git a/plugins/gig_player/gig_player.cpp b/plugins/gig_player/gig_player.cpp index 64d3da204..d05ed8c41 100644 --- a/plugins/gig_player/gig_player.cpp +++ b/plugins/gig_player/gig_player.cpp @@ -362,7 +362,7 @@ void gigInstrument::play( sampleFrame * _working_buffer ) m_synthMutex.lock(); - for( std::list::iterator note = m_notes.begin(); note != m_notes.end(); ++note ) + for( QList::iterator note = m_notes.begin(); note != m_notes.end(); ++note ) { if( note->sample ) { @@ -412,7 +412,7 @@ void gigInstrument::play( sampleFrame * _working_buffer ) } // Fill with portions of the note samples - for( std::list::iterator note = m_notes.begin(); note != m_notes.end(); ++note ) + for( QList::iterator note = m_notes.begin(); note != m_notes.end(); ++note ) { if( note->sample ) { @@ -541,7 +541,7 @@ void gigInstrument::deleteNotePluginData( NotePlayHandle * _n ) bool noteRelease = false; // Fade out the note we want to end - for( std::list::iterator i = m_notes.begin(); i != m_notes.end(); ++i ) + for( QList::iterator i = m_notes.begin(); i != m_notes.end(); ++i ) { if( i->midiNote == pluginData->midiNote) { diff --git a/plugins/gig_player/gig_player.h b/plugins/gig_player/gig_player.h index 0d17e5c30..c1e97e6da 100644 --- a/plugins/gig_player/gig_player.h +++ b/plugins/gig_player/gig_player.h @@ -27,9 +27,9 @@ #ifndef GIG_PLAYER_H #define GIG_PLAYER_H +#include #include #include -#include #include "Instrument.h" #include "pixmap_button.h" @@ -179,7 +179,7 @@ public slots: private: static QMutex s_instancesMutex; static QMap s_instances; - std::list m_notes; + QList m_notes; SRC_STATE * m_srcState;