added playback simulator if /dev/dsp is unavailable


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@581 a1c6a512-1295-4272-9138-f99709370657
diff --git a/uisimulator/common/sound.h b/uisimulator/common/sound.h
index 4da5ce9..cb9afcb 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