Android 4.4 Release 1.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAlKEEhYACgkQ6K0/gZqxDng9NwCgkcR4tmC5rAKKoT5l74QhX5mm
MZgAnjDQOxcC45Rb5l1V7D6UQu5b8UXG
=sRYA
-----END PGP SIGNATURE-----
Allow releaseBuffer after flush

After AudioTrack start checks for pending flush,
allow releaseBuffer on any previously obtained buffer.
For example, this can happen if the resampler has obtained
a buffer but not released the whole buffer yet.
Note that the resampler will be reading obsolete data.

Bug: 11285590
Change-Id: I0614fbb62e43604aac3089cce4b7797c87a306b5
3 files changed