Glenn Kasten 95bd2329c6 Simplify AudioTrack event handling and fix a race
Fixed race where mEventHandlerDelegate was accessed multiple times with
an assumption that all values read were the same.

If setPlaybackPositionUpdateListener was called with a null listener,
it did not update the delegate.

Inner classes can access final local variables of the enclosing method.
Use this to remove fields mPositionListener, mPositionListenerLock, mListener.

Change-Id: Ibf5cae61a1a9d21b745b90d4b74f9be14b66e37b
2012-11-29 14:40:23 -08:00
2012-11-27 13:35:49 -08:00
2012-11-14 08:45:52 -08:00
2012-11-27 12:29:13 -08:00
2012-11-15 14:55:43 -08:00
2012-10-09 11:22:44 -07:00
2012-10-23 16:34:21 -07:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%