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
2 files changed
tree: c0fb62e5d69389a3f31812a63ca90a76c7d6ab0e
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/