summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/10/changes
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-11-03 12:16:05 -0700
committerEric Laurent <elaurent@google.com>2011-11-03 12:16:05 -0700
commit19ddf0ebb013c0ad1d6c04f0c9d6ce177a0fafae (patch)
tree6f7e20a9393bf28e6c87121695a5193bb4f82f28 /docs/html/sdk/api_diff/10/changes
parentf9d8faf7fe9d23bddf4d8d039805bce806e9b9c6 (diff)
AudioFlinger: mix track only when really ready
The addition of low power audio playback mode made that audio buffer consumption by audio HAL can now happen in bursts. This makes that requesting audio data from an AudioTrack for mixing can happen at much shorter intervals than before. This revealed an existing problem where AudioFlinger would consider a track ready for mixing although not enough frames were ready to completely fill one output buffer, thus creating short periods of silence. The fix consists in waiting for enough frames to be ready in AudioTrack buffer before declaring a track ready for mixing. This minimum is not applied when the track is stopped to allow the buffer to be emptied completely. Change-Id: I6d04f9b65db5af85b0b53f0a5674be7ec02f9e9f
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions