[vlc-commits] DirectSound: correct include order
Jean-Baptiste Kempf
git at videolan.org
Sat May 14 15:30:04 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 14 15:29:52 2011 +0200| [ab055487a8e177970d51195f1b00ee4dcf5d4f2b] | committer: Jean-Baptiste Kempf
DirectSound: correct include order
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab055487a8e177970d51195f1b00ee4dcf5d4f2b
---
modules/audio_output/directx.c | 2 --
modules/audio_output/windows_audio_common.h | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index 2dee866..8c6a294 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -36,8 +36,6 @@
#include "windows_audio_common.h"
-#include <dsound.h>
-
#define FRAME_SIZE ((int)p_aout->output.output.i_rate/20) /* Size in samples */
/*****************************************************************************
diff --git a/modules/audio_output/windows_audio_common.h b/modules/audio_output/windows_audio_common.h
index cd5e366..03e7a2f 100644
--- a/modules/audio_output/windows_audio_common.h
+++ b/modules/audio_output/windows_audio_common.h
@@ -72,6 +72,8 @@ typedef struct {
#endif
+#include <dsound.h>
+
#ifndef SPEAKER_FRONT_LEFT
# define SPEAKER_FRONT_LEFT 0x1
# define SPEAKER_FRONT_RIGHT 0x2
More information about the vlc-commits
mailing list