summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-03-11 06:21:43 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-03-11 06:21:43 +0000
commitc2d2106fd76ae553a9f7b2418265209468cbb9e6 (patch)
treec6cb223091ed8dfeb943ede41a5d3e59efeeeade /uisimulator
parentc5cd27f5d1d601e109d6884fe689ec876fc28561 (diff)
downloadrockbox-c2d2106fd76ae553a9f7b2418265209468cbb9e6.tar.gz
rockbox-c2d2106fd76ae553a9f7b2418265209468cbb9e6.zip
Audio Init: Just can't stand that heirarchy. Add one level of abstraction. Might come in handy anyhow. Use sound.h instead of the conditional includes for audio hardware headers. If someone doesn't like that, yell at my evil twin. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12718 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/stubs.c6
-rw-r--r--uisimulator/sdl/sound.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index 3680183e22..8ea46824ce 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -262,9 +262,3 @@ void remove_thread(int threadnum)
262#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */ 262#define VIRT_SIZE 0xFFFF /* more than enough for our string ID range */
263unsigned char vp_dummy[VIRT_SIZE]; 263unsigned char vp_dummy[VIRT_SIZE];
264 264
265
266void audiohw_postinit(void)
267{
268}
269
270
diff --git a/uisimulator/sdl/sound.c b/uisimulator/sdl/sound.c
index d7e3cbd89d..96cb9874f5 100644
--- a/uisimulator/sdl/sound.c
+++ b/uisimulator/sdl/sound.c
@@ -316,5 +316,9 @@ int pcm_init(void)
316 return 0; 316 return 0;
317} 317}
318 318
319void pcm_postinit(void)
320{
321}
322
319#endif /* ROCKBOX_HAS_SIMSOUND */ 323#endif /* ROCKBOX_HAS_SIMSOUND */
320 324