commit | ad8d175b405373b9614ad4278f274eae706df588 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Thu Feb 02 14:05:20 2012 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Fri Feb 10 15:36:46 2012 -0800 |
tree | 4a5b7b7b8552bb7b8cd73ddf7c366b23d6142bc5 | |
parent | da639f54382d9342793a05aec59f179dd172bd57 [diff] |
mAudioHwDevs and related cleanup Inline AudioFlinger::initCheck and remove unnecessary lock. Remove redundant check of mAudioHwDevs.size(). No need to lock mHardwareLock for each device separately during initialization. Use size_t not int to loop through Vector, since size() returns size_t. Add missing hardware lock for get_mic_mute() and get_input_buffer_size(). Add comments. Change-Id: Iafae78ef78bbf65f703d99fcc27c2f4ff221aedc