Add "Hear Mic" feature to the Mic App (#1518)

* Add "Hear Mic" feature to the Mic App

* Following consensus change about ternary operators
This commit is contained in:
Brumi-2021
2023-10-21 01:43:22 +02:00
committed by GitHub
parent 86d4b17257
commit efcedd9005
7 changed files with 108 additions and 7 deletions

View File

@@ -847,6 +847,9 @@ class AK4951 : public audio::Codec {
void microphone_enable(int8_t alc_mode); // added user GUI parameter , to set up AK4951 ALC mode.
void microphone_disable();
void microphone_to_HP_enable();
void microphone_to_HP_disable();
size_t reg_count() const override {
return asahi_kasei::ak4951::reg_count;
}