"git@repo.buzztime.com:halo/external_aac.git" did not exist on "2ddc922da87bb675b8ab8c305566436e806df0d9"
Multithread safety and code reduction
Glenn Kasten authored
Remove unsafe GenericPlayer::getSampleRate().  getSampleRate() was not
thread-safe as it accessed a member variable updated in the looper thread
without a lock.  If getSampleRate() is ever needed again, the sample rate
is available in the mPcmFormatValues array, which does have a lock.

Replace member variables mChannelMask, mChannelCount, and mSampleRateHz
by local variables for locality and performance.

Change-Id: Ibf92ed090430153d748ded4d0b835e429df47eea
b4393ef4
Name Last commit Last update
doc
include
src
tests
tools