commit | 4bb650bb3c4f15789232f3f3cf778c5441122360 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Fri Sep 09 12:11:17 2016 -0700 |
committer | Phil Burk <philburk@google.com> | Mon Sep 12 17:11:30 2016 -0700 |
tree | 38aeb0e3fe7cd024923114813d41b0dbf4ed88aa | |
parent | 3fb45bb6396f245ae7b47dcfe02fb600eec0b84c [diff] |
AudioFlinger: flush direct tracks that are paused Normally the flush is processed on ObtainBuffer. But that is not called when the track is paused. So it was not possible to flush and re-prime a track that was paused. Now we flush synchronously for inactive tracks, and flush from prepareTracks_l for active tracks. Bug: 19193985 Bug: 27791443 Change-Id: I39a7e4921e45041c3a51cf91fd3995b5edee6dd4 Signed-off-by: Phil Burk <philburk@google.com>