From 8cb555460ff79e636a7907fb2589e16db98c8600 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 00:01:32 -0400 Subject: [3/4] Completely remove HWCODEC support 'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0 --- firmware/drivers/audio/sdl.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'firmware/drivers/audio') diff --git a/firmware/drivers/audio/sdl.c b/firmware/drivers/audio/sdl.c index d701665889..fb49a291d1 100644 --- a/firmware/drivers/audio/sdl.c +++ b/firmware/drivers/audio/sdl.c @@ -48,7 +48,7 @@ void audiohw_set_volume(int volume) #ifdef HAVE_SW_VOLUME_CONTROL volume = sdl_volume_level(volume); pcm_set_master_volume(volume, volume); -#elif CONFIG_CODEC == SWCODEC +#else extern void pcm_set_mixer_volume(int volume); pcm_set_mixer_volume(volume); #endif @@ -87,14 +87,6 @@ void audiohw_set_bass(int value) { (void)value; } void audiohw_set_treble(int value) { (void)value; } #endif #endif /* HAVE_SW_TONE_CONTROLS */ -#if CONFIG_CODEC != SWCODEC -void audiohw_set_channel(int value) { (void)value; } -void audiohw_set_stereo_width(int value){ (void)value; } -#ifdef HAVE_PITCHCONTROL -void audiohw_set_pitch(int32_t value) { (void)value; } -int32_t audiohw_get_pitch(void) { return PITCH_SPEED_100; } -#endif -#endif /* CONFIG_CODEC != SWCODEC */ #if defined(AUDIOHW_HAVE_BASS_CUTOFF) void audiohw_set_bass_cutoff(int value) { (void)value; } #endif -- cgit v1.2.3