diff options
author | Glenn Kasten <gkasten@google.com> | 2011-12-13 11:47:54 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-01-13 15:53:10 -0800 |
commit | 9806710f5d6722cfc5783c7eca3512451a0f2035 (patch) | |
tree | c0fb62e5d69389a3f31812a63ca90a76c7d6ab0e /media/libmedia/Visualizer.cpp | |
parent | 09192653e836b21689f004bf8dee375356641181 (diff) | |
download | frameworks_av-9806710f5d6722cfc5783c7eca3512451a0f2035.zip frameworks_av-9806710f5d6722cfc5783c7eca3512451a0f2035.tar.gz frameworks_av-9806710f5d6722cfc5783c7eca3512451a0f2035.tar.bz2 |
Fix locking for mMasterVolume and mMute
mMasterVolume and mMute are both protected by mutex in AudioFlinger class, but
there were two places where they were accessed without a mutex.
Also make AudioFlinger::mMasterMute private not protected.
Change-Id: Ia3897daeb5c50313df5bcc071824357526237f3e
Diffstat (limited to 'media/libmedia/Visualizer.cpp')
0 files changed, 0 insertions, 0 deletions