mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
winecoreaudio: Fix an error check (bad copy-paste).
This commit is contained in:
parent
c67f4cd565
commit
687db1c680
@ -85,7 +85,7 @@ int AudioUnit_CreateDefaultAudioUnit(void *wwo, AudioUnit *au)
|
||||
return 0;
|
||||
|
||||
err = OpenAComponent(comp, au);
|
||||
if (comp == NULL)
|
||||
if (err != noErr || *au == NULL)
|
||||
return 0;
|
||||
|
||||
callbackStruct.inputProc = CoreAudio_woAudioUnitIOProc;
|
||||
|
Loading…
Reference in New Issue
Block a user