diff options
author | Glenn Kasten <gkasten@google.com> | 2012-02-02 14:05:20 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-02-10 15:36:46 -0800 |
commit | 2b213bc220768d2b984239511cd4554a96bc0079 (patch) | |
tree | 06053ae20ae309df04caa0ad5a63563fe72f5a15 /services/audioflinger/ServiceUtilities.h | |
parent | b6333aa8317ce5162ab006c4baed6b0890936dc7 (diff) | |
download | frameworks_av-2b213bc220768d2b984239511cd4554a96bc0079.zip frameworks_av-2b213bc220768d2b984239511cd4554a96bc0079.tar.gz frameworks_av-2b213bc220768d2b984239511cd4554a96bc0079.tar.bz2 |
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
Diffstat (limited to 'services/audioflinger/ServiceUtilities.h')
0 files changed, 0 insertions, 0 deletions