Commit a23402f6 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

quartz: Return correct error when no audio devices are present.

parent 79264b27
......@@ -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,
......
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