echoplayer: disable recording

Though the rev1 hardware is capable of recording from a
headset mic, this feature seems likely to be dropped on
future hardware revisions, and I don't see much point to
implementing it now.

Change-Id: I77e403bdd1ca53f9018835d3c3042dc86ee0f8f3
This commit is contained in:
Aidan MacDonald 2026-02-27 19:42:44 +00:00
parent 3a70003d23
commit ad45b2910a
3 changed files with 0 additions and 25 deletions

View file

@ -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

View file

@ -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__ */

View file

@ -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;
}