commit | 913af0b48fbc9a1e4db8411c763b339f2b09c954 | [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 | dde52a0e7493b182df9d4e4c84617837e3052288 | |
parent | a30f43624f76a7d49fcb48944c310cb4dbfc6522 [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