commit | 33797ea64d067dfeaacbfd7ebe7f3383b73961b5 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Mar 17 09:36:51 2011 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Mar 18 08:56:45 2011 -0700 |
tree | 03aad0239e15dbb12e56c29f4d886e72e111ee2f | |
parent | 00d48b9495265457dfb265e766296212b5447b0e [diff] |
Fix issue 4111672: AudioTrack control block flags Make sure that all read/modify/write operations on the AudioTrack and AudioRecord control block flags field are protected by the control block's mutex. Also fix potential infinite loop in AudioTrack::write() if the written size is not a multiple of frame size. Change-Id: Ib3d557eb45dcc3abeb32c9aa56058e2873afee27