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

iEYEABECAAYFAlJxg4gACgkQ6K0/gZqxDnjLgwCeLhz8E9bxgE0sNtaVzcsEaJNf
9JgAniNeUpAvo4pkXvNsabLbNyvgd9tv
=2qR2
-----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