summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/13/changes
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-05-09 12:09:06 -0700
committerEric Laurent <elaurent@google.com>2011-05-13 08:34:45 -0700
commit90681d6ad203119a2a6a761740dddc6c6662c542 (patch)
treee29dcfa39980a1d9be5b952f92a0c241cecd8f8a /docs/html/sdk/api_diff/13/changes
parented742306b3d24ba1c2ca3fea0cc2ada8534a18b0 (diff)
Fix audio effect framework issues
Fix two issues in audio effect framework reported by partners. 1 - Fixed duplicated audio buffer sent to effect process function when pausing a track. Modified Effectchain::process_l() function to clear the effect chain input buffer before calling the effect process functions when no track is active on the session. Previous code was clearing the buffer after calling the process functions and when transitioning from active to inactive, the last processed buffer was passed again once to effect process function before being cleared. 2 - Fixed potential mutex cross deadlock when disconnecting an effect while playback is active. This is because EffectChain::process_l() was calling PlaybackThread::hasAudioSession() thus creating an inversion in the mutex lock order (EffectChain mutex locked before ThreadBase mutex). The fix consists in removing the call to hasAudioSession() from process_l() and requires each effect chain to keep count of the number of audio tracks attached to it (previously only the active tracks were accounted for). Change-Id: Iee4246694ea8c7a66c012120c629d72dd38f9c35
Diffstat (limited to 'docs/html/sdk/api_diff/13/changes')
0 files changed, 0 insertions, 0 deletions