File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/api/Drivers/USBMIDI2/Driver Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ Return Value:
298
298
299
299
// Current mechanism to determine if currently processing data is that
300
300
// the StreamEngine is not null. TBD this mechanism needs to be fixed.
301
- auto lock = m_MidiInLock.acquire ();
301
+ // auto lock = m_MidiInLock.acquire();
302
302
303
303
if (m_IsRunning)
304
304
{
@@ -579,7 +579,7 @@ StreamEngine::Run()
579
579
{
580
580
// m_IsRunning is used to indicate running state. If m_IsRunning true, the out worker
581
581
// thread will output data to the connected device, otherwise data will be thrown away.
582
- auto lock = m_MidiInLock.acquire ();
582
+ // auto lock = m_MidiInLock.acquire();
583
583
584
584
WDFDEVICE devCtx = AcxCircuitGetWdfDevice (AcxPinGetCircuit (m_Pin));
585
585
PDEVICE_CONTEXT pDevCtx = GetDeviceContext (devCtx);
Original file line number Diff line number Diff line change @@ -235,9 +235,7 @@ class StreamEngine
235
235
wil::kernel_event_auto_reset m_ThreadExitEvent;
236
236
wil::kernel_event_manual_reset m_ThreadExitedEvent {true };
237
237
238
- // m_StandardStreamingLock m_LoopbackMessageQueue are only used
239
238
// for standard streaming of loopback messages
240
- wil::fast_mutex_with_critical_region m_StandardStreamingLock;
241
239
wil::fast_mutex_with_critical_region m_MidiInLock;
242
240
LIST_ENTRY m_LoopbackMessageQueue {nullptr };
243
241
};
You can’t perform that action at this time.
0 commit comments