Commit b3ebdd90 authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

winmm: Also initialize sound device thread in mixerGetControlDetails.

Fixed volume control in EveryonePiano.
parent 0b273d27
...@@ -3850,12 +3850,10 @@ UINT WINAPI mixerGetControlDetailsW(HMIXEROBJ hmix, LPMIXERCONTROLDETAILS lpmcdW ...@@ -3850,12 +3850,10 @@ UINT WINAPI mixerGetControlDetailsW(HMIXEROBJ hmix, LPMIXERCONTROLDETAILS lpmcdW
DWORD fdwDetails) DWORD fdwDetails)
{ {
WINMM_ControlDetails details; WINMM_ControlDetails details;
HRESULT hr;
TRACE("(%p, %p, %x)\n", hmix, lpmcdW, fdwDetails); TRACE("(%p, %p, %x)\n", hmix, lpmcdW, fdwDetails);
hr = WINMM_InitMMDevices(); if(!WINMM_StartDevicesThread())
if(FAILED(hr))
return MMSYSERR_NODRIVER; return MMSYSERR_NODRIVER;
if(!lpmcdW || !lpmcdW->paDetails) if(!lpmcdW || !lpmcdW->paDetails)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment