playback: add positive replaygain values

Implement support for positive ReplayGain values.

Turns out the blocker for this with the new AudioProcessor was that
I did not properly clamp PCM data when I manipulated the data,
resulting in target samples like 75491 being truncated to lower
values like 9955, which resulted in popping. This is a niche addition,
but also puts Auxio in a category that no other (FOSS) android music
player currently occupies. Yay.

Resolves #115.
This commit is contained in:
OxygenCobalt
2022-03-28 19:58:25 -06:00
parent b4abad26cd
commit 59a56090e8
6 changed files with 75 additions and 37 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ I primarily built Auxio for myself, but you can use it too, I guess.
- Customizable UI & Behavior
- Advanced media indexer that prioritizes correct metadata
- Reliable playback state persistence
- ReplayGain support (On MP3, MP4, FLAC, OGG, and OPUS)
- Full ReplayGain support (On MP3, MP4, FLAC, OGG, and OPUS)
- Material You (Android 12+ only)
- Edge-to-edge
- Embedded covers support