Home
last modified time | relevance | path

Searched refs:bit_width (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/audio/msm8909/hal/audio_extn/
Dutils.c184 int bit_width = 16; in parse_bit_width_names() local
188 bit_width = (int)strtol(str, (char **)NULL, 10); in parse_bit_width_names()
190 ALOGV("%s: bit_width - %d", __func__, bit_width); in parse_bit_width_names()
191 return bit_width; in parse_bit_width_names()
229 so_info->app_type_cfg.bit_width = parse_bit_width_names((char *)node->value); in update_streams_output_cfg_list()
300 app_type_cfg[length++] = so_info->app_type_cfg.bit_width; in send_app_type_cfg()
351 so_info->app_type_cfg.bit_width, so_info->app_type_cfg.app_type); in audio_extn_utils_dump_streams_output_cfg_list()
391 uint32_t sample_rate, uint32_t bit_width) in set_output_cfg() argument
398 (bit_width == so_info->app_type_cfg.bit_width)) { in set_output_cfg()
401 app_type_cfg->bit_width = so_info->app_type_cfg.bit_width; in set_output_cfg()
[all …]
Daudio_extn.h74 #define PCM_OUTPUT_BIT_WIDTH (config->offload_info.bit_width)
362 uint32_t bit_width,
/hardware/qcom/audio/msm8909/hal/msm8974/
Dplatform.c1417 int platform_set_snd_device_bit_width(snd_device_t snd_device, unsigned int bit_width) in platform_set_snd_device_bit_width() argument
1428 backend_bit_width_table[snd_device] = bit_width; in platform_set_snd_device_bit_width()
2752 unsigned int bit_width, unsigned int sample_rate) in platform_set_codec_backend_cfg() argument
2754 ALOGV("%s bit width: %d, sample rate: %d", __func__, bit_width, sample_rate); in platform_set_codec_backend_cfg()
2757 if (bit_width != adev->cur_codec_backend_bit_width) { in platform_set_codec_backend_cfg()
2767 if (bit_width == 24) { in platform_set_codec_backend_cfg()
2773 adev->cur_codec_backend_bit_width = bit_width; in platform_set_codec_backend_cfg()
2774 ALOGE("Backend bit width is set to %d ", bit_width); in platform_set_codec_backend_cfg()
2838 unsigned int bit_width = CODEC_BACKEND_DEFAULT_BIT_WIDTH; in platform_check_codec_backend_cfg() local
2869 out->bit_width, out->sample_rate); in platform_check_codec_backend_cfg()
[all …]
/hardware/qcom/audio/msm8909/hal/
Daudio_hw.h155 uint32_t bit_width; member
194 unsigned int bit_width; member
Dplatform_api.h41 int platform_set_snd_device_bit_width(snd_device_t snd_device, unsigned int bit_width);
Daudio_hw.c920 usecase->stream.out->bit_width, in select_devices()
2635 out->bit_width = CODEC_BACKEND_DEFAULT_BIT_WIDTH; in adev_open_output_stream()
2710 out->bit_width = CODEC_BACKEND_DEFAULT_BIT_WIDTH; in adev_open_output_stream()
2734 out->bit_width = PCM_OUTPUT_BIT_WIDTH; in adev_open_output_stream()
2743 if (out->bit_width == 24) { in adev_open_output_stream()
2807 __func__, devices, flags, format, out->sample_rate, out->bit_width); in adev_open_output_stream()
2811 out->bit_width, &out->app_type_cfg); in adev_open_output_stream()
/hardware/qcom/audio/msm8909/hal/msm8960/
Dplatform.c425 int platform_set_snd_device_bit_width(snd_device_t snd_device, unsigned int bit_width) in platform_set_snd_device_bit_width() argument
/hardware/qcom/audio/msm8909/hal/msm8916/
Dplatform.c1565 int platform_set_snd_device_bit_width(snd_device_t snd_device, unsigned int bit_width) in platform_set_snd_device_bit_width() argument