summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/sound.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-01-01 14:01:08 +0000
committerDave Chapman <dave@dchapman.com>2007-01-01 14:01:08 +0000
commitec529a155627a6541ca314f7e61660cdb87e630b (patch)
treed3757b5280582398bdc6916f3d78028b6557b58b /uisimulator/sdl/sound.c
parentfd8bac806b8d93ffef588474c6dd391352203a73 (diff)
downloadrockbox-ec529a155627a6541ca314f7e61660cdb87e630b.tar.gz
rockbox-ec529a155627a6541ca314f7e61660cdb87e630b.zip
Add a dummy pcm_set_frequency() function for the sim. Can someone who knows SDL implement it?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11880 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl/sound.c')
-rw-r--r--uisimulator/sdl/sound.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/uisimulator/sdl/sound.c b/uisimulator/sdl/sound.c
index 469bc78f35..65e2e95da7 100644
--- a/uisimulator/sdl/sound.c
+++ b/uisimulator/sdl/sound.c
@@ -144,6 +144,12 @@ bool pcm_is_playing(void)
144 return pcm_playing; 144 return pcm_playing;
145} 145}
146 146
147void pcm_set_frequency(unsigned int frequency)
148{
149 /* To be implemented */
150 (void)frequency;
151}
152
147/* 153/*
148 * This function goes directly into the DMA buffer to calculate the left and 154 * This function goes directly into the DMA buffer to calculate the left and
149 * right peak values. To avoid missing peaks it tries to look forward two full 155 * right peak values. To avoid missing peaks it tries to look forward two full