Commit 34ffff07 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

mmdevapi: Add a warning if openal is not available.

As spotted by Christoph Hohmann.
parent 6551553f
...@@ -932,6 +932,10 @@ HRESULT MMDevEnum_Create(REFIID riid, void **ppv) ...@@ -932,6 +932,10 @@ HRESULT MMDevEnum_Create(REFIID riid, void **ppv)
openal_scanrender(); openal_scanrender();
openal_scancapture(); openal_scancapture();
} }
else
FIXME("OpenAL support not enabled, application will not find sound devices\n");
#else
ERR("OpenAL support not compiled in, application will not find sound devices\n");
#endif /*HAVE_OPENAL*/ #endif /*HAVE_OPENAL*/
} }
return IUnknown_QueryInterface((IUnknown*)This, riid, ppv); return IUnknown_QueryInterface((IUnknown*)This, riid, ppv);
......
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