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
DWORD fdwDetails)
{
WINMM_ControlDetails details;
HRESULT hr;
TRACE("(%p, %p, %x)\n", hmix, lpmcdW, fdwDetails);
hr = WINMM_InitMMDevices();
if(FAILED(hr))
if(!WINMM_StartDevicesThread())
return MMSYSERR_NODRIVER;
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