Lines Matching refs:microphone

579     struct audio_microphone_characteristic_t microphone;  in process_microphone_characteristic()  local
584 microphone.sensitivity = AUDIO_MICROPHONE_SENSITIVITY_UNKNOWN; in process_microphone_characteristic()
585 microphone.max_spl = AUDIO_MICROPHONE_SPL_UNKNOWN; in process_microphone_characteristic()
586 microphone.min_spl = AUDIO_MICROPHONE_SPL_UNKNOWN; in process_microphone_characteristic()
587 microphone.orientation.x = 0.0f; in process_microphone_characteristic()
588 microphone.orientation.y = 0.0f; in process_microphone_characteristic()
589 microphone.orientation.z = 0.0f; in process_microphone_characteristic()
590 microphone.geometric_location.x = AUDIO_MICROPHONE_COORDINATE_UNKNOWN; in process_microphone_characteristic()
591 microphone.geometric_location.y = AUDIO_MICROPHONE_COORDINATE_UNKNOWN; in process_microphone_characteristic()
592 microphone.geometric_location.z = AUDIO_MICROPHONE_COORDINATE_UNKNOWN; in process_microphone_characteristic()
603 strcpy(microphone.device_id, value); in process_microphone_characteristic()
607 ARRAY_SIZE(device_in_types), &microphone.device)) { in process_microphone_characteristic()
618 strcpy(microphone.address, value); in process_microphone_characteristic()
619 if (strlen(microphone.address) == 0) { in process_microphone_characteristic()
621 if (microphone.device == AUDIO_DEVICE_IN_BUILTIN_MIC) { in process_microphone_characteristic()
622 strcpy(microphone.address, AUDIO_BOTTOM_MICROPHONE_ADDRESS); in process_microphone_characteristic()
623 } else if (microphone.device == AUDIO_DEVICE_IN_BACK_MIC) { in process_microphone_characteristic()
624 strcpy(microphone.address, AUDIO_BACK_MICROPHONE_ADDRESS); in process_microphone_characteristic()
630 AUDIO_MICROPHONE_LOCATION_CNT, &microphone.location)) { in process_microphone_characteristic()
637 microphone.group = atoi(value); in process_microphone_characteristic()
640 microphone.index_in_the_group = atoi(value); in process_microphone_characteristic()
644 AUDIO_MICROPHONE_DIRECTIONALITY_CNT, &microphone.directionality)) { in process_microphone_characteristic()
651 microphone.num_frequency_responses = atoi(value); in process_microphone_characteristic()
652 if (microphone.num_frequency_responses > AUDIO_MICROPHONE_MAX_FREQUENCY_RESPONSES) { in process_microphone_characteristic()
660 microphone.frequency_responses[0][num_frequencies++] = atof(token); in process_microphone_characteristic()
671 microphone.frequency_responses[1][num_responses++] = atof(token); in process_microphone_characteristic()
680 microphone.sensitivity = atof(value); in process_microphone_characteristic()
682 microphone.max_spl = atof(value); in process_microphone_characteristic()
684 microphone.min_spl = atof(value); in process_microphone_characteristic()
701 microphone.orientation.x = orientation[0]; in process_microphone_characteristic()
702 microphone.orientation.y = orientation[1]; in process_microphone_characteristic()
703 microphone.orientation.z = orientation[2]; in process_microphone_characteristic()
720 microphone.geometric_location.x = geometric_location[0]; in process_microphone_characteristic()
721 microphone.geometric_location.y = geometric_location[1]; in process_microphone_characteristic()
722 microphone.geometric_location.z = geometric_location[2]; in process_microphone_characteristic()
730 || num_frequencies != microphone.num_frequency_responses) { in process_microphone_characteristic()
732 __func__, num_frequencies, num_responses, microphone.num_frequency_responses); in process_microphone_characteristic()
741 platform_set_microphone_characteristic(my_data.platform, microphone); in process_microphone_characteristic()
768 struct mic_info microphone; in process_mic_info() local
770 memset(&microphone.channel_mapping, AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED, in process_mic_info()
771 sizeof(microphone.channel_mapping)); in process_mic_info()
777 strlcpy(microphone.device_id, in process_mic_info()
789 &microphone.channel_mapping[idx++])) { in process_mic_info()
796 microphone.channel_count = idx; in process_mic_info()
799 &microphone); in process_mic_info()