Maarten Lankhorst : mmdevapi: Add a warning if openal is not available.

Alexandre Julliard julliard at winehq.org
Thu Apr 29 14:45:04 CDT 2010


Module: wine
Branch: master
Commit: 34ffff074f12d178308e8f7bbe31377f40dff6cd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=34ffff074f12d178308e8f7bbe31377f40dff6cd

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Wed Apr 28 22:06:54 2010 +0200

mmdevapi: Add a warning if openal is not available.

As spotted by Christoph Hohmann.

---

 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);




More information about the wine-cvs mailing list