commit | 9da3d9573a18ffe08365557c706cf52f09118d1c | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Nov 12 19:25:43 2013 -0800 |
committer | Eric Laurent <elaurent@google.com> | Tue Nov 12 19:32:36 2013 -0800 |
tree | c30511f753f1b49d5519ba5249316b12f33bb29a | |
parent | 1b9f9b134e732a48198e51f16424f330cbf03143 [diff] |
audioflinger: fix offload track transition Make sure that when transitioning from one active offloaded track to the next we flush DSP content if both tracks are not on the same audio session. This happens when switching between two applications playing the same type of content (e.g MP3, stereo, 44.1). In this case, we reuse the same output thread because the track formats are compatible. Bug: 11247103. Change-Id: I2b9031591149adeb70766da5e0d21ff2933a37e8