/hardware/libhardware/modules/audio/ |
D | audio_hw.c | 52 audio_channel_mask_t channel_mask; member 61 audio_channel_mask_t channel_mask; member 97 ALOGV("out_get_channels: %x", out->channel_mask); in out_get_channels() 98 return out->channel_mask; in out_get_channels() 248 ALOGV("in_get_channels: %x", in->channel_mask); in in_get_channels() 249 return in->channel_mask; in in_get_channels() 388 out->channel_mask = config->channel_mask; in adev_open_output_stream() 389 if (out->channel_mask == AUDIO_CHANNEL_NONE) in adev_open_output_stream() 390 out->channel_mask = STUB_OUTPUT_DEFAULT_CHANNEL_MASK; in adev_open_output_stream() 399 " frames: %zu", out->sample_rate, out->channel_mask, out->format, in adev_open_output_stream() [all …]
|
/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.cpp | 33 config->channelMask = EnumBitfield<AudioChannelMask>(halConfig.channel_mask); in audioConfigFromHal() 42 halConfig->channel_mask = static_cast<audio_channel_mask_t>(config.channelMask); in audioConfigToHal() 52 config->channelMask = EnumBitfield<AudioChannelMask>(halConfig.channel_mask); in audioGainConfigFromHal() 63 halConfig->channel_mask = static_cast<audio_channel_mask_t>(config.channelMask); in audioGainConfigToHal() 73 gain->channelMask = EnumBitfield<AudioChannelMask>(halGain.channel_mask); in audioGainFromHal() 84 halGain->channel_mask = static_cast<audio_channel_mask_t>(gain.channelMask); in audioGainToHal() 112 offload->channelMask = EnumBitfield<AudioChannelMask>(halOffload.channel_mask); in audioOffloadInfoFromHal() 128 halOffload->channel_mask = static_cast<audio_channel_mask_t>(offload.channelMask); in audioOffloadInfoToHal() 147 config->channelMask = EnumBitfield<AudioChannelMask>(halConfig.channel_mask); in audioPortConfigFromHal() 185 halConfig->channel_mask = static_cast<audio_channel_mask_t>(config.channelMask); in audioPortConfigToHal()
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 2696 static void register_channel_mask(audio_channel_mask_t channel_mask, in register_channel_mask() argument 2698 ALOGE_IF(!register_uint(channel_mask, supported_channel_masks, MAX_SUPPORTED_CHANNEL_MASKS), in register_channel_mask() 2699 "%s: stream can not declare supporting its channel_mask %x", __func__, channel_mask); in register_channel_mask() 2773 return out->channel_mask; in out_get_channels() 3533 size_t channel_count = audio_channel_count_from_out_mask(out->channel_mask); in out_write() 3578 size_t channel_count = audio_channel_count_from_out_mask(out->channel_mask); in out_write() 4098 return in->channel_mask; in in_get_channels() 4823 audio_channel_count_from_in_mask(in->channel_mask), in in_get_active_microphones() 4942 __func__, config->format, config->sample_rate, config->channel_mask, devices, flags); in adev_open_output_stream() 4965 audio_channel_mask_t req_channel_mask = config->channel_mask; in adev_open_output_stream() [all …]
|
D | audio_hw.h | 225 audio_channel_mask_t channel_mask; member 285 audio_channel_mask_t channel_mask; member
|
/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() 529 config->channel_mask = is_input_format ? get_supported_channel_in_mask(config->channel_mask) : in audio_config_compare() 530 get_supported_channel_out_mask(config->channel_mask); in audio_config_compare() 560 opening_input ? "in" : "out", config->channel_mask); in audio_config_compare() [all …]
|
/hardware/libhardware/modules/usbaudio/ |
D | audio_hal.c | 603 if (config->channel_mask == AUDIO_CHANNEL_NONE) { in adev_open_output_stream() 609 out->hal_channel_count = audio_channel_count_from_out_mask(config->channel_mask); in adev_open_output_stream() 621 config->channel_mask = out->hal_channel_count <= FCC_2 in adev_open_output_stream() 628 out->hal_channel_mask = config->channel_mask; in adev_open_output_stream() 955 config->sample_rate, config->channel_mask, config->format); in adev_open_input_stream() 1078 if (config->channel_mask == AUDIO_CHANNEL_NONE) { in adev_open_input_stream() 1084 in->hal_channel_count = audio_channel_count_from_in_mask(config->channel_mask); in adev_open_input_stream() 1103 if (in->hal_channel_mask != config->channel_mask && in adev_open_input_stream() 1104 config->channel_mask != AUDIO_CHANNEL_NONE) { in adev_open_input_stream() 1105 config->channel_mask = in->hal_channel_mask; in adev_open_input_stream() [all …]
|
/hardware/libhardware/modules/audio_remote_submix/tests/ |
D | remote_submix_tests.cpp | 110 configIn.channel_mask = mono ? AUDIO_CHANNEL_IN_MONO : AUDIO_CHANNEL_IN_STEREO; in OpenInputStream() 123 configOut.channel_mask = mono ? AUDIO_CHANNEL_OUT_MONO : AUDIO_CHANNEL_OUT_STEREO; in OpenOutputStream()
|
/hardware/qcom/audio/hal/msm8974/ |
D | platform.c | 3218 audio_channel_mask_t channel_mask = (in == NULL) ? AUDIO_CHANNEL_IN_MONO : in->channel_mask; in platform_get_input_snd_device() local 3219 int channel_count = audio_channel_count_from_in_mask(channel_mask); in platform_get_input_snd_device() 3222 __func__, out_device, in_device, channel_count, channel_mask); in platform_get_input_snd_device() 3373 } else if ((channel_mask == AUDIO_CHANNEL_IN_FRONT_BACK) && in platform_get_input_snd_device() 3376 } else if ((channel_mask == AUDIO_CHANNEL_INDEX_MASK_3) && in platform_get_input_snd_device() 3379 } else if ((channel_mask == AUDIO_CHANNEL_INDEX_MASK_4) && in platform_get_input_snd_device() 3403 if (((channel_mask == AUDIO_CHANNEL_IN_FRONT_BACK) || in platform_get_input_snd_device() 3404 (channel_mask == AUDIO_CHANNEL_IN_STEREO)) && in platform_get_input_snd_device() 3407 } else if ((channel_mask == AUDIO_CHANNEL_INDEX_MASK_3) && in platform_get_input_snd_device() 3410 } else if ((channel_mask == AUDIO_CHANNEL_INDEX_MASK_4) && in platform_get_input_snd_device() [all …]
|
/hardware/libhardware_legacy/audio/ |
D | audio_hw_hal.cpp | 485 audio_channel_count_from_in_mask(config->channel_mask)); in adev_get_input_buffer_size() 509 &config->channel_mask, in adev_open_output_stream() 575 &config->channel_mask, &config->sample_rate, in adev_open_input_stream()
|
/hardware/qcom/audio/hal/msm8960/ |
D | platform.c | 760 audio_channel_mask_t channel_mask = (in == NULL) ? AUDIO_CHANNEL_IN_MONO : in->channel_mask; in platform_get_input_snd_device() local 826 if (channel_mask == AUDIO_CHANNEL_IN_FRONT_BACK) in platform_get_input_snd_device() 831 if (channel_mask == AUDIO_CHANNEL_IN_FRONT_BACK) in platform_get_input_snd_device()
|
/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/interfaces/audio/core/all-versions/default/ |
D | Device.cpp | 163 halConfig.channel_mask, deviceAddressToHal(device).c_str()); in openOutputStreamImpl() 189 halConfig.channel_mask, deviceAddressToHal(device).c_str(), in openInputStreamImpl()
|
/hardware/libhardware/modules/soundtrigger/ |
D | sound_trigger_hw.c | 280 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in sound_trigger_keyphrase_event_alloc() 302 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in sound_trigger_generic_event_alloc()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | soundtrigger.c | 349 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 | 592 out->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in voice_extn_check_and_set_incall_music_usecase()
|
/hardware/interfaces/soundtrigger/2.0/default/ |
D | SoundTriggerHalImpl.cpp | 467 (audio::common::V2_0::AudioChannelMask)halEvent->audio_config.channel_mask; in convertRecognitionEventFromHal()
|
/hardware/qcom/audio/hal/msm8916/ |
D | platform.c | 2176 audio_channel_mask_t channel_mask = (in == NULL) ? AUDIO_CHANNEL_IN_MONO : in->channel_mask; local 2177 int channel_count = audio_channel_count_from_in_mask(channel_mask);
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.cpp | 491 (audio::common::V2_0::AudioChannelMask)halEvent->audio_config.channel_mask; in convertRecognitionEventFromHal()
|
/hardware/knowles/athletico/sound_trigger_hal/ |
D | sound_trigger_hw_iaxxx.c | 490 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in stdev_keyphrase_event_alloc() 523 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in stdev_generic_event_alloc()
|
/hardware/interfaces/audio/common/4.0/ |
D | types.hal | 754 * popcount(channel_mask).
|
/hardware/interfaces/audio/common/2.0/ |
D | types.hal | 793 * popcount(channel_mask).
|
/hardware/interfaces/audio/common/6.0/ |
D | types.hal | 889 * popcount(channel_mask).
|
/hardware/interfaces/audio/common/5.0/ |
D | types.hal | 883 * popcount(channel_mask).
|