diff --git a/firmware/export/config/echor1.h b/firmware/export/config/echor1.h index 6b39778507..7727f03da7 100644 --- a/firmware/export/config/echor1.h +++ b/firmware/export/config/echor1.h @@ -50,14 +50,9 @@ /* Codec / audio hardware defines */ #define HW_SAMPR_CAPS SAMPR_CAP_ALL_96 // FIXME: check this section -#define REC_SAMPR_CAPS SAMPR_CAP_ALL_96 -#define INPUT_SRC_CAPS SRC_CAP_MIC -#define AUDIOHW_CAPS MIC_GAIN_CAP -#define HAVE_RECORDING #define HAVE_ECHOPLAYER_CODEC #define HAVE_SW_TONE_CONTROLS #define HAVE_SW_VOLUME_CONTROL -#define DEFAULT_REC_MIC_GAIN 12 /* Button defines */ #define CONFIG_KEYPAD ECHO_R1_PAD diff --git a/firmware/export/echoplayer_codec.h b/firmware/export/echoplayer_codec.h index 73f69646e6..3be3e9c015 100644 --- a/firmware/export/echoplayer_codec.h +++ b/firmware/export/echoplayer_codec.h @@ -26,6 +26,4 @@ * when changing the volume */ AUDIOHW_SETTING(VOLUME, "dB", 1, 5, -790, 0, -200); -AUDIOHW_SETTING(MIC_GAIN, "dB", 0, 1, 0, 63, 12); - #endif /* __ECHOPLAYER_CODEC_H__ */ diff --git a/firmware/target/arm/stm32/echoplayer/audiohw-echoplayer.c b/firmware/target/arm/stm32/echoplayer/audiohw-echoplayer.c index b1a0c39fa8..cf336ee41e 100644 --- a/firmware/target/arm/stm32/echoplayer/audiohw-echoplayer.c +++ b/firmware/target/arm/stm32/echoplayer/audiohw-echoplayer.c @@ -32,26 +32,8 @@ void audiohw_close(void) { } -void audio_set_output_source(int source) -{ - (void)source; -} - -void audiohw_set_recvol(int left, int right, int type) -{ - (void)left; - (void)right; - (void)type; -} - void audiohw_set_volume(int vol_l, int vol_r) { (void)vol_l; (void)vol_r; } - -void audio_input_mux(int source, unsigned flags) -{ - (void)source; - (void)flags; -}