diff options
author | Dave Chapman <dave@dchapman.com> | 2007-01-01 14:01:08 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-01-01 14:01:08 +0000 |
commit | ec529a155627a6541ca314f7e61660cdb87e630b (patch) | |
tree | d3757b5280582398bdc6916f3d78028b6557b58b /uisimulator | |
parent | fd8bac806b8d93ffef588474c6dd391352203a73 (diff) |
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.c | 6 |
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 |