Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1affd376 authored by Ethan Chen's avatar Ethan Chen
Browse files

FMRadio: Pause and stop AudioTrack before stopping

* According to documentation, stop will continue to play the last
  buffer, while pause immediately halts playback.
* Pause to reduce latency to stop, then flush the AudioTrack buffer
  before actually stopping in the render thread.

REF: KIPPER-560
Change-Id: I0b497cd6b95b0921f63796746c7279a4f931dbd3
parent 077ed425
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment