summaryrefslogtreecommitdiff
path: root/uisimulator/common/sound.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2002-05-15 07:27:48 +0000
committerDave Chapman <dave@dchapman.com>2002-05-15 07:27:48 +0000
commit553c2567f4e21df002f45e6ddc0234999e58ad69 (patch)
treef562bea092ace62458b08361a4d7b9306230c8e2 /uisimulator/common/sound.h
parentdc6cd7dcb20f455f8c474b585c9bf98e79c9a2d8 (diff)
downloadrockbox-553c2567f4e21df002f45e6ddc0234999e58ad69.tar.gz
rockbox-553c2567f4e21df002f45e6ddc0234999e58ad69.zip
added playback simulator if /dev/dsp is unavailable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@581 a1c6a512-1295-4272-9138-f99709370657
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