Android Support Library release 11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAlDPpZ0ACgkQ6K0/gZqxDnhLugCcDgTfFGfvRK+LvJlC9ZYVIzlA
sBsAn1lxHmnybGlNCC57Ar1SW1ClF2fo
=+j7J
-----END PGP SIGNATURE-----
Shutdown audio pipe when closing input stream

Writing to the audio pipe for the remote submix is blocking, unless
 the audio output pipe is in shutdown mode. The playback thread
 could stay blocked on the write if the input stream has already
 been closed.
The change consists in shutting down the pipe also when the input
 stream gets closed. When the pipe is in this state, simulate
 timing in the write operation so we don't drain the output faster
 than realtime.

Bug 7424646

Change-Id: I5feb3be642b0ee7eef10dee0141308684ee9c811
1 file changed