playback: rework audio focus

Rework audio focus to rely on the native ExoPlayer implementation
instead of a custom implementation.

Previously, we avoided ExoPlayer's AudioFocus system as it never
played after a transient lost. A few versions later now through,
now it does, so we may as well switch to it. This does introduce
a bug where ReplayGain functionality will conflict with audio
focus, but I hope to eliminate this with #115 as I switch to
an AudioProcessor instead of a callback.
This commit is contained in:
OxygenCobalt
2022-03-27 11:51:58 -06:00
parent e54a58c612
commit b748d73abb
37 changed files with 33 additions and 175 deletions
+5
View File
@@ -5,10 +5,15 @@
#### What's Fixed
- Fixed incorrect ellipsizing on song items
#### What's Changed
- Audio focus is no longer configurable
#### Dev/Meta
- Updated translations [Konstantin Tutsch -> German, cccClyde -> Chinese ]
- Switched to spotless and ktfmt instead of ktlint
- Migrated constants to centralized table
- Introduced new RecyclerView framework
- Use native ExoPlayer AudioFocus implementation
- Removed databinding [Greatly reduces compile times]
- A bunch of internal view implementation improvements