[vlc-commits] Waveout: tentative fix for WinCE

Jean-Baptiste Kempf git at videolan.org
Sat May 14 15:39:18 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 14 15:39:07 2011 +0200| [b0ccf95da87e9f2085d36d6610cc749be3004312] | committer: Jean-Baptiste Kempf

Waveout: tentative fix for WinCE

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0ccf95da87e9f2085d36d6610cc749be3004312
---

 modules/audio_output/windows_audio_common.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/windows_audio_common.h b/modules/audio_output/windows_audio_common.h
index 03e7a2f..b1acd06 100644
--- a/modules/audio_output/windows_audio_common.h
+++ b/modules/audio_output/windows_audio_common.h
@@ -71,8 +71,9 @@ typedef struct {
 } WAVEFORMATEXTENSIBLE, *PWAVEFORMATEXTENSIBLE;
 #endif
 
-
-#include <dsound.h>
+#ifndef UNDER_CE
+#   include <dsound.h>
+#endif
 
 #ifndef SPEAKER_FRONT_LEFT
 #   define SPEAKER_FRONT_LEFT             0x1



More information about the vlc-commits mailing list