Lines Matching refs:microphone

640     struct audio_microphone_characteristic_t microphone;  in process_microphone_characteristic()  local
645 microphone.sensitivity = AUDIO_MICROPHONE_SENSITIVITY_UNKNOWN; in process_microphone_characteristic()
646 microphone.max_spl = AUDIO_MICROPHONE_SPL_UNKNOWN; in process_microphone_characteristic()
647 microphone.min_spl = AUDIO_MICROPHONE_SPL_UNKNOWN; in process_microphone_characteristic()
648 microphone.orientation.x = 0.0f; in process_microphone_characteristic()
649 microphone.orientation.y = 0.0f; in process_microphone_characteristic()
650 microphone.orientation.z = 0.0f; in process_microphone_characteristic()
651 microphone.geometric_location.x = AUDIO_MICROPHONE_COORDINATE_UNKNOWN; in process_microphone_characteristic()
652 microphone.geometric_location.y = AUDIO_MICROPHONE_COORDINATE_UNKNOWN; in process_microphone_characteristic()
653 microphone.geometric_location.z = AUDIO_MICROPHONE_COORDINATE_UNKNOWN; in process_microphone_characteristic()
664 strcpy(microphone.device_id, value); in process_microphone_characteristic()
668 ARRAY_SIZE(device_in_types), &microphone.device)) { in process_microphone_characteristic()
679 strcpy(microphone.address, value); in process_microphone_characteristic()
680 if (strlen(microphone.address) == 0) { in process_microphone_characteristic()
682 if (microphone.device == AUDIO_DEVICE_IN_BUILTIN_MIC) { in process_microphone_characteristic()
683 strcpy(microphone.address, AUDIO_BOTTOM_MICROPHONE_ADDRESS); in process_microphone_characteristic()
684 } else if (microphone.device == AUDIO_DEVICE_IN_BACK_MIC) { in process_microphone_characteristic()
685 strcpy(microphone.address, AUDIO_BACK_MICROPHONE_ADDRESS); in process_microphone_characteristic()
691 AUDIO_MICROPHONE_LOCATION_CNT, &microphone.location)) { in process_microphone_characteristic()
698 microphone.group = atoi(value); in process_microphone_characteristic()
701 microphone.index_in_the_group = atoi(value); in process_microphone_characteristic()
705 AUDIO_MICROPHONE_DIRECTIONALITY_CNT, &microphone.directionality)) { in process_microphone_characteristic()
712 microphone.num_frequency_responses = atoi(value); in process_microphone_characteristic()
713 if (microphone.num_frequency_responses > AUDIO_MICROPHONE_MAX_FREQUENCY_RESPONSES) { in process_microphone_characteristic()
721 microphone.frequency_responses[0][num_frequencies++] = atof(token); in process_microphone_characteristic()
732 microphone.frequency_responses[1][num_responses++] = atof(token); in process_microphone_characteristic()
741 microphone.sensitivity = atof(value); in process_microphone_characteristic()
743 microphone.max_spl = atof(value); in process_microphone_characteristic()
745 microphone.min_spl = atof(value); in process_microphone_characteristic()
762 microphone.orientation.x = orientation[0]; in process_microphone_characteristic()
763 microphone.orientation.y = orientation[1]; in process_microphone_characteristic()
764 microphone.orientation.z = orientation[2]; in process_microphone_characteristic()
781 microphone.geometric_location.x = geometric_location[0]; in process_microphone_characteristic()
782 microphone.geometric_location.y = geometric_location[1]; in process_microphone_characteristic()
783 microphone.geometric_location.z = geometric_location[2]; in process_microphone_characteristic()
791 || num_frequencies != microphone.num_frequency_responses) { in process_microphone_characteristic()
793 __func__, num_frequencies, num_responses, microphone.num_frequency_responses); in process_microphone_characteristic()
802 platform_set_microphone_characteristic(my_data.platform, microphone); in process_microphone_characteristic()
829 struct mic_info microphone; in process_mic_info() local
831 memset(&microphone.channel_mapping, AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED, in process_mic_info()
832 sizeof(microphone.channel_mapping)); in process_mic_info()
838 strlcpy(microphone.device_id, in process_mic_info()
850 &microphone.channel_mapping[idx++])) { in process_mic_info()
857 microphone.channel_count = idx; in process_mic_info()
860 &microphone); in process_mic_info()