playback: add pre-amp customization

Implement a UI frontend for customizing the ReplayGain pre-amp value.

This finally completes Auxio's ReplayGain implementation. Not only
that, it also shows how Auxio can use positive ReplayGain values,
unlike other apps.

As a side-note, this also fiddles with the dialog style somewhat.
I got carried away.

Resolves #114.
This commit is contained in:
OxygenCobalt
2022-05-22 09:32:23 -06:00
parent 519de0e1d5
commit 21fccf1f31
22 changed files with 294 additions and 49 deletions
+8
View File
@@ -94,6 +94,14 @@
app:key="auxio_replay_gain"
app:title="@string/set_replay_gain" />
<Preference
app:iconSpaceReserved="false"
app:key="auxio_pre_amp"
app:allowDividerBelow="false"
app:title="@string/set_pre_amp"
app:dependency="auxio_replay_gain"
app:summary="@string/set_pre_amp_desc"/>
</PreferenceCategory>
<PreferenceCategory