summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-05-04 15:39:01 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-05-04 15:39:01 +0000
commitdfeeeebee0b62146f1ae70ad5e530386858043a7 (patch)
tree66925a8ba36848f6373504e7970f1e48c21510a3
parent5d730497688c89d905727551952adb9a43404572 (diff)
downloadrockbox-dfeeeebee0b62146f1ae70ad5e530386858043a7.tar.gz
rockbox-dfeeeebee0b62146f1ae70ad5e530386858043a7.zip
Fix some errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13322 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--uisimulator/sdl/sound.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/uisimulator/sdl/sound.c b/uisimulator/sdl/sound.c
index 3447112231..c3bb4d6592 100644
--- a/uisimulator/sdl/sound.c
+++ b/uisimulator/sdl/sound.c
@@ -25,6 +25,13 @@
25#include "debug.h" 25#include "debug.h"
26#include "kernel.h" 26#include "kernel.h"
27#include "sound.h" 27#include "sound.h"
28
29#ifdef HAVE_RECORDING
30#ifndef REC_SAMPR_CAPS
31#define REC_SAMPR_CAPS SAMPR_CAP_44
32#endif
33#endif
34
28#include "pcm_sampr.h" 35#include "pcm_sampr.h"
29#include "SDL.h" 36#include "SDL.h"
30 37
@@ -202,7 +209,7 @@ void pcm_set_frequency(unsigned int frequency)
202 HW_HAVE_22_(case SAMPR_22:) 209 HW_HAVE_22_(case SAMPR_22:)
203 HW_HAVE_24_(case SAMPR_24:) 210 HW_HAVE_24_(case SAMPR_24:)
204 HW_HAVE_32_(case SAMPR_32:) 211 HW_HAVE_32_(case SAMPR_32:)
205 /* 44100 implied */ 212 HW_HAVE_44_(case SAMPR_44:)
206 HW_HAVE_48_(case SAMPR_48:) 213 HW_HAVE_48_(case SAMPR_48:)
207 HW_HAVE_64_(case SAMPR_64:) 214 HW_HAVE_64_(case SAMPR_64:)
208 HW_HAVE_88_(case SAMPR_88:) 215 HW_HAVE_88_(case SAMPR_88:)