mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 12:41:30 +00:00
Mic to hp refactoring (#1521)
* Refactoring previous "Hear Mic" PR * Missed file
This commit is contained in:
@@ -198,8 +198,8 @@ void update_audio_mute() {
|
||||
|
||||
namespace input {
|
||||
|
||||
void start(int8_t alc_mode) {
|
||||
audio_codec->microphone_enable(alc_mode); // added user-GUI selection for AK4951, ALC mode parameter.
|
||||
void start(int8_t alc_mode, bool mic_to_HP_enabled) {
|
||||
audio_codec->microphone_enable(alc_mode, mic_to_HP_enabled); // added user-GUI selection for AK4951, ALC mode parameter. and the check box "Hear Mic"
|
||||
i2s::i2s0::rx_start();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user