Searched refs:channel_mask (Results 1 – 7 of 7) sorted by relevance
274 return out->req_config.channel_mask; in out_get_channels()704 audio_channel_mask_t *channel_mask) { in refine_output_parameters() argument715 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() argument758 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() argument791 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 …]
530 audio_channel_mask_t channel_mask) { in get_input_buffer_size() argument534 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()
510 audio_channel_mask_t channel_mask) { in get_input_buffer_size() argument514 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()
468 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()
651 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()
75 .channel_mask = in openOutputStream()
119 audio_proxy_channel_mask_t channel_mask; member