summaryrefslogtreecommitdiff
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 @@
23 23
24#ifdef LINUX 24#ifdef LINUX
25 25
26/* The "sound device type" is simply the file descriptor */ 26/* The "sound device type" */
27#define sound_t int 27
28typedef struct {
29 int fd;
30 int freq;
31 int channels;
32} sound_t;
28 33
29#else 34#else
30 #ifdef WIN32 35 #ifdef WIN32