summaryrefslogtreecommitdiff
path: root/sys/directsound/gstdirectsoundsrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/directsound/gstdirectsoundsrc.h')
-rw-r--r--sys/directsound/gstdirectsoundsrc.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/sys/directsound/gstdirectsoundsrc.h b/sys/directsound/gstdirectsoundsrc.h
index 6f75f4eb2..4c65372c9 100644
--- a/sys/directsound/gstdirectsoundsrc.h
+++ b/sys/directsound/gstdirectsoundsrc.h
@@ -45,13 +45,12 @@
*/
#ifndef __GST_DIRECTSOUNDSRC_H__
-#define __GST_DIRECTSOUNDSRC_H__
-
-#include <gst/gst.h>
-#include <gst/audio/audio.h>
-#include <gst/audio/gstaudiosrc.h>
-
-#include <windows.h>
+#define __GST_DIRECTSOUNDSRC_H__
+
+#include <gst/gst.h>
+#include <gst/audio/audio.h>
+#include <gst/audio/gstaudiosrc.h>
+#include <windows.h>
#include <dsound.h>
/* add here some headers if needed */
@@ -93,9 +92,8 @@ struct _GstDirectSoundSrc
guint latency_time;
-#if 0
- guint device;
-#endif
+ GUID *device_guid;
+ char *device_name;
GMutex dsound_lock;