[PATCH 10/10] mmdevapi: Add a warning if openal is not available

Maarten Lankhorst m.b.lankhorst at gmail.com
Wed Apr 28 15:06:54 CDT 2010


---
 dlls/mmdevapi/devenum.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/mmdevapi/devenum.c b/dlls/mmdevapi/devenum.c
index 0a7a661..281faf5 100644
--- a/dlls/mmdevapi/devenum.c
+++ b/dlls/mmdevapi/devenum.c
@@ -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);
-- 
1.7.0.4


--------------090703060902030306060005--



More information about the wine-patches mailing list