Add new audiohw capability: POWER_MODE_CAP

This allows the user to make use of the DAC's power-saving abilities.
The two modes are "high performance" and "battery saver". This feature
is supported by the AK4376 DAC in the upcoming FiiO M3K port.

The setting is only a manual toggle right now, but in the future it
could be hooked up to the battery level (via another setting) so it
can be toggled automatically when the battery gets too low.

Change-Id: I482af6e2f969fcbdeb3411bd3ff91f866b12d027
This commit is contained in:
Aidan MacDonald 2021-03-13 02:11:45 +00:00 committed by Solomon Peachy
parent 3a254a92c7
commit 55805e13a4
11 changed files with 161 additions and 0 deletions

View file

@ -12207,6 +12207,57 @@
es9018: "Bypass"
</voice>
</phrase>
<phrase>
id: LANG_DAC_POWER_MODE
desc: in sound settings
user: core
<source>
*: none
dac_power_mode: "DAC's power mode"
</source>
<dest>
*: none
dac_power_mode: "DAC's power mode"
</dest>
<voice>
*: none
dac_power_mode: "DAC's power mode"
</voice>
</phrase>
<phrase>
id: LANG_DAC_POWER_HIGH
desc: in sound settings
user: core
<source>
*: none
dac_power_mode: "High performance"
</source>
<dest>
*: none
dac_power_mode: "High performance"
</dest>
<voice>
*: none
dac_power_mode: "High performance"
</voice>
</phrase>
<phrase>
id: LANG_DAC_POWER_LOW
desc: in sound settings
user: core
<source>
*: none
dac_power_mode: "Save battery"
</source>
<dest>
*: none
dac_power_mode: "Save battery"
</dest>
<voice>
*: none
dac_power_mode: "Save battery"
</voice>
</phrase>
<phrase>
id: LANG_VOLUME_LIMIT
desc: in sound_settings