mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 20:06:18 +00:00
quartz: Return correct error when no audio devices are present.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
79264b27c1
commit
a23402f6e7
|
@ -1015,7 +1015,7 @@ HRESULT dsound_render_create(IUnknown *outer, IUnknown **out)
|
|||
IUnknown_Release(object->system_clock);
|
||||
strmbase_filter_cleanup(&object->filter);
|
||||
free(object);
|
||||
return hr;
|
||||
return hr == DSERR_NODRIVER ? VFW_E_NO_AUDIO_HARDWARE : hr;
|
||||
}
|
||||
|
||||
if (FAILED(hr = IDirectSound8_SetCooperativeLevel(object->dsound,
|
||||
|
|
Loading…
Reference in New Issue
Block a user