mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 02:04:34 +00:00
winmm: Also initialize sound device thread in mixerGetControlDetails.
Fixed volume control in EveryonePiano.
This commit is contained in:
parent
0b273d279b
commit
b3ebdd904c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user