msacm32: Check correct variable.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0f0fb98498
commit
7493364b4b
|
@ -424,7 +424,7 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
|
|||
if (pafd->fdwSupport)
|
||||
return MMSYSERR_INVALPARAM;
|
||||
|
||||
if (pafd->pwfx->wFormatTag == WAVE_FORMAT_UNKNOWN)
|
||||
if (pafd->dwFormatTag == WAVE_FORMAT_UNKNOWN)
|
||||
return MMSYSERR_INVALPARAM;
|
||||
|
||||
switch (fdwDetails) {
|
||||
|
|
Loading…
Reference in New Issue