mirror of
https://github.com/wine-mirror/wine
synced 2024-07-01 07:14:31 +00:00
dmsynth: Force debug info in critical sections.
This commit is contained in:
parent
bbe1c7532a
commit
17f94ab563
|
@ -1992,7 +1992,7 @@ HRESULT synth_create(IUnknown **ret_iface)
|
||||||
goto failed;
|
goto failed;
|
||||||
fluid_sfont_set_data(obj->fluid_sfont, obj);
|
fluid_sfont_set_data(obj->fluid_sfont, obj);
|
||||||
|
|
||||||
InitializeCriticalSection(&obj->cs);
|
InitializeCriticalSectionEx(&obj->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
|
||||||
obj->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
|
obj->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
|
||||||
|
|
||||||
TRACE("Created DirectMusicSynth %p\n", obj);
|
TRACE("Created DirectMusicSynth %p\n", obj);
|
||||||
|
|
|
@ -754,7 +754,7 @@ HRESULT synth_sink_create(IUnknown **ret_iface)
|
||||||
obj->ref = 1;
|
obj->ref = 1;
|
||||||
|
|
||||||
obj->stop_event = CreateEventW(NULL, FALSE, FALSE, NULL);
|
obj->stop_event = CreateEventW(NULL, FALSE, FALSE, NULL);
|
||||||
InitializeCriticalSection(&obj->cs);
|
InitializeCriticalSectionEx(&obj->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
|
||||||
obj->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
|
obj->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
|
||||||
|
|
||||||
TRACE("Created DirectMusicSynthSink %p\n", obj);
|
TRACE("Created DirectMusicSynthSink %p\n", obj);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user