... somehow didn't notice the already existing engine::mixer()->lock() there...
This commit is contained in:
@@ -230,7 +230,6 @@ private:
|
||||
NotePlayHandle* m_notes[NumKeys];
|
||||
int m_runningMidiNotes[NumKeys];
|
||||
bool m_sustainPedalPressed;
|
||||
QMutex m_notesMutex;
|
||||
|
||||
bool m_silentBuffersProcessed;
|
||||
|
||||
|
||||
@@ -240,7 +240,6 @@ MidiEvent InstrumentTrack::applyMasterKey( const MidiEvent& event )
|
||||
void InstrumentTrack::processInEvent( const MidiEvent& event, const MidiTime& time, f_cnt_t offset )
|
||||
{
|
||||
engine::mixer()->lock();
|
||||
QMutexLocker locker( &m_notesMutex );
|
||||
bool eventHandled = false;
|
||||
|
||||
switch( event.type() )
|
||||
|
||||
Reference in New Issue
Block a user