Home
last modified time | relevance | path

Searched refs:channel_mask (Results 1 – 7 of 7) sorted by relevance

/device/generic/car/emulator/audio/driver/
Daudio_hw.c274 return out->req_config.channel_mask; in out_get_channels()
704 audio_channel_mask_t *channel_mask) { in refine_output_parameters() argument
715 int channel_count = popcount(*channel_mask); in refine_output_parameters()
717 *channel_mask = AUDIO_CHANNEL_IN_STEREO; in refine_output_parameters()
745 audio_channel_mask_t *channel_mask) { in refine_input_parameters() argument
758 int channel_count = popcount(*channel_mask); in refine_input_parameters()
760 *channel_mask = AUDIO_CHANNEL_IN_STEREO; in refine_input_parameters()
788 audio_channel_mask_t channel_mask) { in get_input_buffer_size() argument
791 int channel_count = popcount(channel_mask); in get_input_buffer_size()
792 if (refine_input_parameters(&sample_rate, &format, &channel_mask) != 0) in get_input_buffer_size()
[all …]
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c530 audio_channel_mask_t channel_mask) { in get_input_buffer_size() argument
534 size_t bytes_per_frame = audio_channel_count_from_in_mask(channel_mask) * in get_input_buffer_size()
868 audio_channel_count_from_out_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_output_stream()
872 config->channel_mask = audio_channel_out_mask_from_count(CHANNEL_STEREO); in adev_open_output_stream()
885 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream()
1013 get_input_buffer_size(CAPTURE_PERIOD_SIZE, config->format, config->channel_mask); in adev_get_input_buffer_size()
1069 audio_channel_count_from_in_mask(config->channel_mask) != in->config.channels || in adev_open_input_stream()
1072 config->channel_mask = audio_channel_in_mask_from_count(in->config.channels); in adev_open_input_stream()
/device/linaro/dragonboard/audio/
Daudio_hw.c510 audio_channel_mask_t channel_mask) { in get_input_buffer_size() argument
514 size_t bytes_per_frame = audio_channel_count_from_in_mask(channel_mask) * in get_input_buffer_size()
854 audio_channel_count_from_out_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_output_stream()
858 config->channel_mask = audio_channel_out_mask_from_count(CHANNEL_STEREO); in adev_open_output_stream()
871 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream()
999 get_input_buffer_size(CAPTURE_PERIOD_SIZE, config->format, config->channel_mask); in adev_get_input_buffer_size()
1053 audio_channel_count_from_in_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_input_stream()
1056 config->channel_mask = in_get_channels(&in->stream.common); in adev_open_input_stream()
/device/linaro/poplar/audio/
Daudio_hw.c468 audio_channel_count_from_out_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_output_stream()
472 config->channel_mask = audio_channel_out_mask_from_count(CHANNEL_STEREO); in adev_open_output_stream()
484 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream()
/device/linaro/hikey/audio/
Daudio_hw.c651 audio_channel_count_from_out_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_output_stream()
655 config->channel_mask = audio_channel_out_mask_from_count(CHANNEL_STEREO); in adev_open_output_stream()
667 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream()
/device/google/atv/audio_proxy/
DAudioProxyDevice.cpp75 .channel_mask = in openOutputStream()
/device/google/atv/audio_proxy/public/
Daudio_proxy.h119 audio_proxy_channel_mask_t channel_mask; member