summaryrefslogtreecommitdiffstats
path: root/uisimulator/common/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/sound.h')
-rw-r--r--uisimulator/common/sound.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/uisimulator/common/sound.h b/uisimulator/common/sound.h
index 4da5ce9f08..cb9afcb187 100644
--- a/uisimulator/common/sound.h
+++ b/uisimulator/common/sound.h
@@ -23,8 +23,13 @@
#ifdef LINUX
-/* The "sound device type" is simply the file descriptor */
-#define sound_t int
+/* The "sound device type" */
+
+typedef struct {
+ int fd;
+ int freq;
+ int channels;
+} sound_t;
#else
#ifdef WIN32