Audio stops working when using Audio track output
Description
When using the AudioTrack output, audio on a video will play once, but after minimising the app or backing out of the video, audio will stop working for that video or any other one in the app until it is fully restarted
Problem does not occur with the OpenSL es output
Expected behavior
Audio should play as normal after minimising and reopening the app
Actual behavior
Audio stops working completely after watching one video or backing out of the player
Steps to reproduce
- Open video with audio, observe audio is playing
- Press the back, home or app drawer button to minimise or close the player
- Re enter the player either on the same or new video, observe audio no longer plays
Screenshot / video
Context
App version
3.4.4
Android version
Android 12
Device model
Sony Xperia 5 ii
App mode
Smartphone
Edited by Slowrider8