diff options
-rw-r--r-- | firmware/drivers/audio/sdl.c | 11 |
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) | |||
167 | void audiohw_set_depth_3d(int value) | 167 | void audiohw_set_depth_3d(int value) |
168 | { (void)value; } | 168 | { (void)value; } |
169 | #endif | 169 | #endif |
170 | #ifdef HAVE_RECORDING | 170 | #ifdef CONFIG_SAMPR_TYPES |
171 | #if SAMPR_TYPE_REC != 0 | 171 | unsigned int pcm_sampr_to_hw_sampr(unsigned int samplerate, |
172 | unsigned int pcm_sampr_type_rec_to_play(unsigned int samplerate) | 172 | unsigned int type) |
173 | { return samplerate; } | 173 | { return samplerate; (void)type; } |
174 | #endif | 174 | #endif /* CONFIG_SAMPR_TYPES */ |
175 | #endif /* HAVE_RECORDING */ | ||
176 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) | 175 | #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) |
177 | int mas_codec_readreg(int reg) | 176 | int mas_codec_readreg(int reg) |
178 | { | 177 | { |