diff options
author | Dan Everton <dan@iocaine.org> | 2007-01-05 10:30:18 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2007-01-05 10:30:18 +0000 |
commit | 5efed097fd1948fe19bfd9bf1cbbcd7461f3b68d (patch) | |
tree | 89b42af0c0c9fc759b88cc85d64ea306ddd0975b /apps/plugins/doom | |
parent | ccfa883d78546de493115faaff8a46d3a5ff087a (diff) |
Implement pcm_set_frequency in the sim. Update Doom plugin to have sound in the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11916 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r-- | apps/plugins/doom/i_sound.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c index e2eeab0c3d..0f9e6edd19 100644 --- a/apps/plugins/doom/i_sound.c +++ b/apps/plugins/doom/i_sound.c @@ -475,17 +475,13 @@ void I_SubmitSound(void) if (nosfxparm) return; -#if !defined(SIMULATOR) rb->pcm_play_data(&get_more, NULL, 0); -#endif } void I_ShutdownSound(void) { -#if !defined(SIMULATOR) rb->pcm_play_stop(); rb->pcm_set_frequency(44100); // 44100 -#endif } void I_InitSound() @@ -494,10 +490,8 @@ void I_InitSound() // Initialize external data (all sounds) at start, keep static. printf( "I_InitSound: "); -#if !defined(SIMULATOR) rb->pcm_play_stop(); rb->pcm_set_frequency(SAMPLERATE); -#endif vol_lookup=malloc(128*256*sizeof(int)); |