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
Loading
Please register or sign in to comment