commit | 0e265cf36d201a7ccc0238b5c60b50f43d1dc450 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Thu Feb 02 10:52:34 2012 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Thu Feb 02 11:23:30 2012 -0800 |
tree | 395a2c8f3685c1d1140f3ad12d2dff884d7db6ad | |
parent | bf6954598193147cac980b8b5d7ad5215f1dec16 [diff] |
Remove dead mutex in AudioTrack/AudioRecord thread The client callback threads had mutexes called AudioTrackThread::mLock and ClientRecordThread::mLock. These mutexes were only used by start() and stop(), and were unused by the thread itself. But start() and stop() already have their own protection provided by AudioTrack::mLock and AudioRecord::mLock. So the thread mutexes can be removed. Change-Id: I098406d381645d77fba06a15511e179a327848ef