"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "6a7e9677db200c36f0128e2a6991871209f6dcf2"
audioflinger: fix for playback paused during track transition
The test case here involves two applications both of which play the same music clip. When the 2nd application ends playback, the 1st application must resume playback where it left off. But it is possible that the new AudioTrack.start() command from the 1st application is processed after the 2nd application has paused and terminated. This will prevent a flush to clear any state before playback of the 1st application can resume. Direct thread thus stays in pause state indefintely. Issue unconditional flush for direct thread when a new track is added to a direct output. CRs-Fixed: 1068215 Change-Id: I33d36db35358a1b3b89dd5b2b8cb4db1f9c6d4a0
Loading
Please register or sign in to comment