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:
@@ -81,8 +81,6 @@
|
||||
<string name="set_alt_shuffle">Режим перемешивания</string>
|
||||
|
||||
<string name="set_audio">Звук</string>
|
||||
<string name="set_focus">Аудио-фокус</string>
|
||||
<string name="set_focus_desc">Ставить на паузу при звонках</string>
|
||||
<string name="set_replay_gain">ReplayGain (экспериментально)</string>
|
||||
<string name="set_off">Выкл.</string>
|
||||
<string name="set_replay_gain_track">По треку</string>
|
||||
|
||||
Reference in New Issue
Block a user