diff options
| author | 2012-02-02 14:05:20 -0800 | |
|---|---|---|
| committer | 2012-02-10 15:36:46 -0800 | |
| commit | ad8d175b405373b9614ad4278f274eae706df588 (patch) | |
| tree | 4a5b7b7b8552bb7b8cd73ddf7c366b23d6142bc5 /libs/androidfw/KeyCharacterMap.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/KeyCharacterMap.cpp')
0 files changed, 0 insertions, 0 deletions