Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

-25
-5
firmware/export/config/echor1.h
··· 50 50 51 51 /* Codec / audio hardware defines */ 52 52 #define HW_SAMPR_CAPS SAMPR_CAP_ALL_96 // FIXME: check this section 53 - #define REC_SAMPR_CAPS SAMPR_CAP_ALL_96 54 - #define INPUT_SRC_CAPS SRC_CAP_MIC 55 - #define AUDIOHW_CAPS MIC_GAIN_CAP 56 - #define HAVE_RECORDING 57 53 #define HAVE_ECHOPLAYER_CODEC 58 54 #define HAVE_SW_TONE_CONTROLS 59 55 #define HAVE_SW_VOLUME_CONTROL 60 - #define DEFAULT_REC_MIC_GAIN 12 61 56 62 57 /* Button defines */ 63 58 #define CONFIG_KEYPAD ECHO_R1_PAD
-2
firmware/export/echoplayer_codec.h
··· 26 26 * when changing the volume */ 27 27 AUDIOHW_SETTING(VOLUME, "dB", 1, 5, -790, 0, -200); 28 28 29 - AUDIOHW_SETTING(MIC_GAIN, "dB", 0, 1, 0, 63, 12); 30 - 31 29 #endif /* __ECHOPLAYER_CODEC_H__ */
-18
firmware/target/arm/stm32/echoplayer/audiohw-echoplayer.c
··· 32 32 { 33 33 } 34 34 35 - void audio_set_output_source(int source) 36 - { 37 - (void)source; 38 - } 39 - 40 - void audiohw_set_recvol(int left, int right, int type) 41 - { 42 - (void)left; 43 - (void)right; 44 - (void)type; 45 - } 46 - 47 35 void audiohw_set_volume(int vol_l, int vol_r) 48 36 { 49 37 (void)vol_l; 50 38 (void)vol_r; 51 39 } 52 - 53 - void audio_input_mux(int source, unsigned flags) 54 - { 55 - (void)source; 56 - (void)flags; 57 - }