Searched refs:channel_count (Results 1 – 3 of 3) sorted by relevance
/device/htc/flounder/audio/visualizer/ |
D | nv_offload_visualizer.c | 109 uint8_t channel_count; /* to avoid recomputing it every time a buffer is processed */ member 553 visu_ctxt->channel_count = popcount(context->config.inputCfg.channels); in visualizer_init() 655 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process() 666 rms_squared_acc / (inBuffer->frameCount * visu_ctxt->channel_count); in visualizer_process()
|
/device/google/dragon/audio/hal/ |
D | audio_hw.c | 656 int set_hdmi_channels(struct audio_device *adev, int channel_count) in set_hdmi_channels() argument 661 (void)channel_count; in set_hdmi_channels() 1746 int channel_count) in check_input_parameters() argument 1750 if ((channel_count < 1) || (channel_count > 4)) return -EINVAL; in check_input_parameters() 1772 int channel_count, in get_input_buffer_size() argument 1779 if (check_input_parameters(sample_rate, format, channel_count) != 0) in get_input_buffer_size() 1794 return (size * channel_count * audio_bytes_per_sample(format)); in get_input_buffer_size()
|
/device/htc/flounder/audio/hal/ |
D | audio_hw.c | 693 static int set_hdmi_channels(struct audio_device *adev, int channel_count) in set_hdmi_channels() argument 698 (void)channel_count; in set_hdmi_channels() 1157 uint32_t channel_count, in get_echo_reference() argument 1172 channel_count, in get_echo_reference() 2539 int channel_count) in check_input_parameters() argument 2543 if ((channel_count < 1) || (channel_count > 2)) return -EINVAL; in check_input_parameters() 2565 int channel_count, in get_input_buffer_size() argument 2572 if (check_input_parameters(sample_rate, format, channel_count) != 0) in get_input_buffer_size() 2587 return (size * channel_count * audio_bytes_per_sample(format)); in get_input_buffer_size()
|