mmdevapi: Add a warning if openal is not available.

As spotted by Christoph Hohmann.
This commit is contained in:
Maarten Lankhorst 2010-04-28 22:06:54 +02:00 committed by Alexandre Julliard
parent 6551553fe6
commit 34ffff074f
1 changed files with 4 additions and 0 deletions

View File

@ -932,6 +932,10 @@ HRESULT MMDevEnum_Create(REFIID riid, void **ppv)
openal_scanrender();
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*/
}
return IUnknown_QueryInterface((IUnknown*)This, riid, ppv);