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

Skip to content
Commit 4d464bd3 authored by jiabin's avatar jiabin Committed by Android Build Cherrypicker Worker
Browse files

Always set AudioTrack callback if it is offload playback.

If the client is not using data callback, aaudio should also set
AudioTrack callback if it is a offload playback. The reason is that the
framework will need to notify the client for stream end when doing
gapless offload.

Bug: 388969394
Test: test_pcm_offload -c2 -po -f1 -r48000 -T40 -E960000 -B
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1ce42114f26a546553de35ac8264a4c45bb4ebc7)
Merged-In: Ia55f162f2888b3a1b7751cc4e4bb3e198979a801
Change-Id: Ia55f162f2888b3a1b7751cc4e4bb3e198979a801
parent 8ff1b5e2
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