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:
@@ -65,8 +65,6 @@
|
||||
<string name="set_alt_loop">"Preferovat akci režimu opakování"</string>
|
||||
<string name="set_alt_shuffle">"Preferovat akci náhodného přehrávání"</string>
|
||||
<string name="set_audio">"Zvuk"</string>
|
||||
<string name="set_focus">"Zaměření zvuku"</string>
|
||||
<string name="set_focus_desc">Pozastavit při přehrávání jiného zvuku (např. hovor)</string>
|
||||
<string name="set_behavior">"Chování"</string>
|
||||
<string name="set_song_mode">"Když je vybrána skladba"</string>
|
||||
<string name="set_keep_shuffle">"Zapamatovat si náhodné přehrávání"</string>
|
||||
|
||||
Reference in New Issue
Block a user