summaryrefslogtreecommitdiff
path: root/uisimulator/sdl
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 /uisimulator/sdl
parent5d730497688c89d905727551952adb9a43404572 (diff)
Fix some errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13322 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl')
-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 @@
#include "debug.h"
#include "kernel.h"
#include "sound.h"
+
+#ifdef HAVE_RECORDING
+#ifndef REC_SAMPR_CAPS
+#define REC_SAMPR_CAPS SAMPR_CAP_44
+#endif
+#endif
+
#include "pcm_sampr.h"
#include "SDL.h"
@@ -202,7 +209,7 @@ void pcm_set_frequency(unsigned int frequency)
HW_HAVE_22_(case SAMPR_22:)
HW_HAVE_24_(case SAMPR_24:)
HW_HAVE_32_(case SAMPR_32:)
- /* 44100 implied */
+ HW_HAVE_44_(case SAMPR_44:)
HW_HAVE_48_(case SAMPR_48:)
HW_HAVE_64_(case SAMPR_64:)
HW_HAVE_88_(case SAMPR_88:)