Home
last modified time | relevance | path

Searched refs:channel_count (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/audio/hal/msm8974/
Dplatform.c758 int platform_set_hdmi_channels(void *platform, int channel_count) in platform_set_hdmi_channels() argument
765 switch (channel_count) { in platform_set_hdmi_channels()
799 int channel_count; in platform_edid_get_max_channels() local
836 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
837 if (channel_count > max_channels) in platform_edid_get_max_channels()
838 max_channels = channel_count; in platform_edid_get_max_channels()
/hardware/qcom/audio/hal/msm8960/
Dplatform.c807 int platform_set_hdmi_channels(void *platform, int channel_count) in platform_set_hdmi_channels() argument
814 switch (channel_count) { in platform_set_hdmi_channels()
848 int channel_count; in platform_edid_get_max_channels() local
876 channel_count = (sad[0] & 0x7) + 1; in platform_edid_get_max_channels()
877 if (channel_count > max_channels) in platform_edid_get_max_channels()
878 max_channels = channel_count; in platform_edid_get_max_channels()
/hardware/qcom/audio/hal/
Dplatform_api.h36 int platform_set_hdmi_channels(void *platform, int channel_count);
Daudio_hw.c1090 int channel_count) in check_input_parameters() argument
1094 if ((channel_count < 1) || (channel_count > 2)) return -EINVAL; in check_input_parameters()
1116 int channel_count) in get_input_buffer_size() argument
1120 if (check_input_parameters(sample_rate, format, channel_count) != 0) in get_input_buffer_size()
1126 size *= sizeof(short) * channel_count; in get_input_buffer_size()
2227 int channel_count = popcount(config->channel_mask); in adev_get_input_buffer_size() local
2229 return get_input_buffer_size(config->sample_rate, config->format, channel_count); in adev_get_input_buffer_size()
2241 int channel_count = popcount(config->channel_mask); in adev_open_input_stream() local
2245 if (check_input_parameters(config->sample_rate, config->format, channel_count) != 0) in adev_open_input_stream()
2275 in->config.channels = channel_count; in adev_open_input_stream()
[all …]
/hardware/qcom/audio/visualizer/
Doffload_visualizer.c106 uint8_t channel_count; /* to avoid recomputing it every time a buffer is processed */ member
583 visu_ctxt->channel_count = popcount(context->config.inputCfg.channels); in visualizer_init()
687 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()
698 rms_squared_acc / (inBuffer->frameCount * visu_ctxt->channel_count); in visualizer_process()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_audio.h145 uint32_t channel_count; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_audio.h154 uint32_t channel_count; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_audio.h145 uint32_t channel_count; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_audio.h154 uint32_t channel_count; member
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp235 int channel_count = 0; in setHDMIChannelCount() local
242 if (info.AudioBlocksArray[i].nChannels > channel_count && in setHDMIChannelCount()
244 channel_count = info.AudioBlocksArray[i].nChannels; in setHDMIChannelCount()
249 switch (channel_count) { in setHDMIChannelCount()