Home
last modified time | relevance | path

Searched refs:mic_array (Results 1 – 3 of 3) sorted by relevance

/device/linaro/dragonboard/audio/
Daudio_hw.c68 struct audio_microphone_characteristic_t *mic_array,
1169 struct audio_microphone_characteristic_t *mic_array, in in_get_active_microphones() argument
1172 return adev_get_microphones(NULL, mic_array, mic_count); in in_get_active_microphones()
1516 struct audio_microphone_characteristic_t *mic_array, in adev_get_microphones() argument
1528 if (mic_array == NULL) { in adev_get_microphones()
1532 strncpy(mic_array->device_id, "mic_goldfish", AUDIO_MICROPHONE_ID_MAX_LEN - 1); in adev_get_microphones()
1533 mic_array->device = AUDIO_DEVICE_IN_BUILTIN_MIC; in adev_get_microphones()
1534 strncpy(mic_array->address, AUDIO_BOTTOM_MICROPHONE_ADDRESS, in adev_get_microphones()
1536 memset(mic_array->channel_mapping, AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED, in adev_get_microphones()
1537 sizeof(mic_array->channel_mapping)); in adev_get_microphones()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c71 struct audio_microphone_characteristic_t *mic_array,
1172 struct audio_microphone_characteristic_t *mic_array, in in_get_active_microphones() argument
1175 return adev_get_microphones(NULL, mic_array, mic_count); in in_get_active_microphones()
1519 struct audio_microphone_characteristic_t *mic_array, in adev_get_microphones() argument
1531 if (mic_array == NULL) { in adev_get_microphones()
1535 strncpy(mic_array->device_id, "mic_goldfish", AUDIO_MICROPHONE_ID_MAX_LEN - 1); in adev_get_microphones()
1536 mic_array->device = AUDIO_DEVICE_IN_BUILTIN_MIC; in adev_get_microphones()
1537 strncpy(mic_array->address, AUDIO_BOTTOM_MICROPHONE_ADDRESS, in adev_get_microphones()
1539 memset(mic_array->channel_mapping, AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED, in adev_get_microphones()
1540 sizeof(mic_array->channel_mapping)); in adev_get_microphones()
[all …]
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c54 struct audio_microphone_characteristic_t* mic_array,
529 struct audio_microphone_characteristic_t* mic_array, in in_get_active_microphones() argument
532 if ((mic_array == NULL) || (mic_count == NULL)) { in in_get_active_microphones()
543 adev_get_microphones(dev, mic_array, mic_count); in in_get_active_microphones()
580 struct audio_microphone_characteristic_t mic_array[AUDIO_MICROPHONE_MAX_COUNT]; in in_dump() local
583 get_mic_characteristics(mic_array, &mic_count); in in_dump()
589 dprintf(fd, " Address: %s\n", mic_array[idx].address); in in_dump()
590 dprintf(fd, " Device: %d\n", mic_array[idx].device); in in_dump()
591 dprintf(fd, " Sensitivity (dB): %.2f\n", mic_array[idx].sensitivity); in in_dump()
899 struct audio_microphone_characteristic_t* mic_array, in adev_get_microphones() argument
[all …]