summaryrefslogtreecommitdiffstats
path: root/uisimulator
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
parentfd8bac806b8d93ffef588474c6dd391352203a73 (diff)
downloadrockbox-ec529a155627a6541ca314f7e61660cdb87e630b.tar.gz
rockbox-ec529a155627a6541ca314f7e61660cdb87e630b.tar.bz2
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')
-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)
return pcm_playing;
}
+void pcm_set_frequency(unsigned int frequency)
+{
+ /* To be implemented */
+ (void)frequency;
+}
+
/*
* This function goes directly into the DMA buffer to calculate the left and
* right peak values. To avoid missing peaks it tries to look forward two full