Home
last modified time | relevance | path

Searched refs:actual_mics (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/audio/core/all-versions/default/
DDevice.cpp364 size_t actual_mics = AUDIO_MICROPHONE_MAX_COUNT; in getMicrophones() local
369 mDevice->get_microphones(mDevice, &mic_array[0], &actual_mics) == 0) { in getMicrophones()
370 microphones.resize(actual_mics); in getMicrophones()
371 for (size_t i = 0; i < actual_mics; ++i) { in getMicrophones()
DStreamIn.cpp483 size_t actual_mics = AUDIO_MICROPHONE_MAX_COUNT; in getActiveMicrophones() local
488 mStream->get_active_microphones(mStream, &mic_array[0], &actual_mics) == 0) { in getActiveMicrophones()
489 microphones.resize(actual_mics); in getActiveMicrophones()
490 for (size_t i = 0; i < actual_mics; ++i) { in getActiveMicrophones()