commit | 2986460984580833161bdaabc7f17da1005a8961 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue May 08 18:57:51 2012 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon May 14 17:20:12 2012 -0700 |
tree | bd8aa210c0faee61dc45e23479e29cfc85f313c2 | |
parent | dfa29ab13647f22b30b2de34d4830c9e815bf120 [diff] |
Fix issues with synchronous record start. - Added a timeout in case the trigger event is never fired. - Extend AudioRecord obtainBuffer() timeout in case of synchronous start to avoid spurious warning. - Make sure that the event is triggered if the track is destroyed. - Reject event if the triggering track is in an incompatible state. Also fix a problem when restoring a static AudioTrack after a mediaserver crash. Bug 6449468. Change-Id: Ib36e11111fb88f73caa31dcb0622792737d57a4b