Moved AK Speaker Disable back to a title bar, and modified Mute Icon to differentiate (#1192)

* Added fn to indicate support for disabling speaker
* Support both mute & speaker disable icons
* Byte grouping for ui_config2_t bitmap
* Fix disabling AK speaker to take effect immediately
This commit is contained in:
Mark Thompson
2023-06-26 01:08:09 -05:00
committed by GitHub
parent b5ea81cf96
commit 3f8a4957af
13 changed files with 153 additions and 16 deletions

View File

@@ -43,6 +43,7 @@ class Codec {
virtual void speaker_enable() = 0;
virtual void speaker_disable() = 0;
virtual bool speaker_disable_supported() const = 0;
virtual void headphone_enable() = 0;
virtual void headphone_disable() = 0;
@@ -107,6 +108,7 @@ size_t reg_bits();
void init(audio::Codec* const codec);
void shutdown();
bool speaker_disable_supported();
enum class Rate {
Hz_12000 = 4,