mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

1. Use ints rather than longs. 2. Remove some counters that dont seem hugely useful. 3. Replace use of volatile with explicit method calls that cause a memory barrier. This is a lot more efficient than using volatile because it can be invoked only once per doSomeWork.