/hardware/intel/common/libmix/mix_audio/src/ |
D | mixacpwma.c | 37 self->channel_mask = 0; in mix_acp_wma_init() 122 t->channel_mask = s->channel_mask; in mix_acp_wma_copy() 173 ret = (acp1->channel_mask == acp2->channel_mask) && in mix_acp_wma_equal()
|
D | mixacpwma.h | 102 guint32 channel_mask; member 171 #define MIX_ACP_WMA_CHANNEL_MASK(obj) (MIX_AUDIOCONFIGPARAMSWMA(obj)->channel_mask)
|
D | sst_proxy.c | 82 p->channel_mask = MIX_ACP_WMA_CHANNEL_MASK(acp); in mix_sst_params_convert_wma() 349 MIX_ACP_WMA_CHANNEL_MASK(acp) = params->channel_mask; in mix_sst_params_to_wma()
|
D | intel_sst_ioctl.h | 128 __u32 channel_mask; /* Channel Mask */ member
|
/hardware/intel/audio_media/hdmi/ |
D | tinyaudio_hw.c | 134 uint32_t channel_mask; member 298 if(out->channel_mask > 2){ in out_get_buffer_size() 326 ALOGV("%s channel mask : %x",__func__,out->channel_mask); in out_get_channels() 327 return out->channel_mask; in out_get_channels() 695 out->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in adev_open_output_stream() 702 if (config->channel_mask == 0){ in adev_open_output_stream() 705 if(config->channel_mask == 0) in adev_open_output_stream() 706 config->channel_mask = AUDIO_CHANNEL_OUT_5POINT1; in adev_open_output_stream() 712 if (config->channel_mask == 0) in adev_open_output_stream() 713 config->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in adev_open_output_stream() [all …]
|
/hardware/libhardware/modules/usbaudio/ |
D | audio_hal.c | 560 } else if (config->channel_mask == AUDIO_CHANNEL_NONE) { in adev_open_output_stream() 566 config->channel_mask = audio_channel_out_mask_from_count(proposed_channel_count); in adev_open_output_stream() 569 config->channel_mask = in adev_open_output_stream() 574 out->hal_channel_count = audio_channel_count_from_out_mask(config->channel_mask); in adev_open_output_stream() 577 out->hal_channel_mask = config->channel_mask; in adev_open_output_stream() 865 config->sample_rate, config->channel_mask, config->format); in adev_open_input_stream() 937 } else if (config->channel_mask == AUDIO_CHANNEL_NONE) { in adev_open_input_stream() 941 config->channel_mask = audio_channel_in_mask_from_count(proposed_channel_count); in adev_open_input_stream() 942 if (config->channel_mask == AUDIO_CHANNEL_INVALID) in adev_open_input_stream() 943 config->channel_mask = in adev_open_input_stream() [all …]
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 328 const uint32_t input_channels = audio_channel_count_from_in_mask(input_config->channel_mask); in audio_config_compare() 329 const uint32_t output_channels = audio_channel_count_from_out_mask(output_config->channel_mask); in audio_config_compare() 338 audio_channel_count_from_in_mask(input_config->channel_mask) != 1) { in audio_config_compare() 377 rsxadev->routes[route_idx].config.input_channel_mask = config->channel_mask; in audio_config_compare() 392 rsxadev->routes[route_idx].config.output_channel_mask = config->channel_mask; in audio_config_compare() 406 channel_count = audio_channel_count_from_out_mask(config->channel_mask); in audio_config_compare() 408 channel_count = audio_channel_count_from_in_mask(config->channel_mask); in audio_config_compare() 521 config->channel_mask = is_input_format ? get_supported_channel_in_mask(config->channel_mask) : in audio_config_compare() 522 get_supported_channel_out_mask(config->channel_mask); in audio_config_compare() 552 opening_input ? "in" : "out", config->channel_mask); in audio_config_compare() [all …]
|
/hardware/qcom/audio/hal/ |
D | audio_hw.h | 137 audio_channel_mask_t channel_mask; member 174 audio_channel_mask_t channel_mask; member
|
D | audio_hw.c | 1328 return out->channel_mask; in out_get_channels() 1872 return in->channel_mask; in in_get_channels() 2123 __func__, config->sample_rate, config->channel_mask, devices, flags); in adev_open_output_stream() 2135 out->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in adev_open_output_stream() 2151 if (config->channel_mask == 0) in adev_open_output_stream() 2152 config->channel_mask = AUDIO_CHANNEL_OUT_5POINT1; in adev_open_output_stream() 2154 out->channel_mask = config->channel_mask; in adev_open_output_stream() 2159 out->config.channels = audio_channel_count_from_out_mask(out->channel_mask); in adev_open_output_stream() 2178 if (config->offload_info.channel_mask) in adev_open_output_stream() 2179 out->channel_mask = config->offload_info.channel_mask; in adev_open_output_stream() [all …]
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 1834 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device() local 1835 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device() 1837 int channel_count = popcount(channel_mask); in platform_get_input_snd_device() 1840 __func__, out_device, in_device, channel_count, channel_mask); in platform_get_input_snd_device() 1924 } else if ((channel_mask == AUDIO_CHANNEL_IN_FRONT_BACK) && in platform_get_input_snd_device() 1927 } else if (((int)channel_mask == AUDIO_CHANNEL_INDEX_MASK_3) && in platform_get_input_snd_device() 1930 } else if (((int)channel_mask == AUDIO_CHANNEL_INDEX_MASK_4) && in platform_get_input_snd_device() 2022 (int)channel_mask == AUDIO_CHANNEL_INDEX_MASK_4) { in platform_get_input_snd_device() 2025 (int)channel_mask == AUDIO_CHANNEL_INDEX_MASK_3) { in platform_get_input_snd_device() 2036 my_data->source_mic_type, channel_count, channel_mask); in platform_get_input_snd_device()
|
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 714 audio_channel_mask_t channel_mask = (adev->active_input == NULL) ? in platform_get_input_snd_device() local 715 AUDIO_CHANNEL_IN_MONO : adev->active_input->channel_mask; in platform_get_input_snd_device() 782 if (channel_mask == AUDIO_CHANNEL_IN_FRONT_BACK) in platform_get_input_snd_device() 787 if (channel_mask == AUDIO_CHANNEL_IN_FRONT_BACK) in platform_get_input_snd_device()
|
/hardware/libhardware_legacy/audio/ |
D | audio_hw_hal.cpp | 483 audio_channel_count_from_in_mask(config->channel_mask)); in adev_get_input_buffer_size() 507 &config->channel_mask, in adev_open_output_stream() 573 &config->channel_mask, &config->sample_rate, in adev_open_input_stream()
|
D | AudioPolicyManagerBase.cpp | 1478 offloadInfo.sample_rate, offloadInfo.channel_mask, in isOffloadSupported() 1532 offloadInfo.channel_mask, in isOffloadSupported() 1901 offloadInfo.channel_mask = desc->mChannelMask; in checkOutputsForDevice()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | audio_hw_hal.cpp | 510 uint8_t channelCount = popcount(config->channel_mask); in adev_get_input_buffer_size() 574 &config->channel_mask, in adev_open_output_stream() 641 &config->channel_mask, in adev_open_input_stream()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | soundtrigger.c | 193 in->channel_mask = audio_channel_in_mask_from_count(in->config.channels); in audio_extn_sound_trigger_check_and_get_session()
|
/hardware/qcom/audio/hal/voice_extn/ |
D | voice_extn.c | 569 out->channel_mask = AUDIO_CHANNEL_OUT_MONO; in voice_extn_check_and_set_incall_music_usecase()
|