From ec529a155627a6541ca314f7e61660cdb87e630b Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 1 Jan 2007 14:01:08 +0000 Subject: 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 --- uisimulator/sdl/sound.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'uisimulator/sdl/sound.c') 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 -- cgit v1.2.3