summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-12-08 20:05:48 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-12-08 20:05:48 +0000
commitd09818d745835653c2f7ff24547101c0833800d4 (patch)
tree4934fdc2a9a63978cdb89c3e95f36d552112e928
parente42a3194de3b4fb9cd3e7cbd2e0ff17fea804b72 (diff)
Fix sim errors in r31180.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31181 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/audio/sdl.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/firmware/drivers/audio/sdl.c b/firmware/drivers/audio/sdl.c
index b1529f2a41..1a42466e2e 100644
--- a/firmware/drivers/audio/sdl.c
+++ b/firmware/drivers/audio/sdl.c
@@ -167,12 +167,11 @@ void audiohw_set_eq_band_width(unsigned int band, int value)
void audiohw_set_depth_3d(int value)
{ (void)value; }
#endif
-#ifdef HAVE_RECORDING
-#if SAMPR_TYPE_REC != 0
-unsigned int pcm_sampr_type_rec_to_play(unsigned int samplerate)
- { return samplerate; }
-#endif
-#endif /* HAVE_RECORDING */
+#ifdef CONFIG_SAMPR_TYPES
+unsigned int pcm_sampr_to_hw_sampr(unsigned int samplerate,
+ unsigned int type)
+ { return samplerate; (void)type; }
+#endif /* CONFIG_SAMPR_TYPES */
#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F)
int mas_codec_readreg(int reg)
{