Lines Matching refs:channel_mask
1383 return out->channel_mask; in out_get_channels()
1945 return in->channel_mask; in in_get_channels()
2243 __func__, config->sample_rate, config->channel_mask, devices, flags); in adev_open_output_stream()
2255 out->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in adev_open_output_stream()
2271 if (config->channel_mask == 0) in adev_open_output_stream()
2272 config->channel_mask = AUDIO_CHANNEL_OUT_5POINT1; in adev_open_output_stream()
2276 out->channel_mask = config->channel_mask; in adev_open_output_stream()
2282 out->config.channels = audio_channel_count_from_out_mask(out->channel_mask); in adev_open_output_stream()
2301 if (config->offload_info.channel_mask) in adev_open_output_stream()
2302 out->channel_mask = config->offload_info.channel_mask; in adev_open_output_stream()
2303 else if (config->channel_mask) in adev_open_output_stream()
2304 out->channel_mask = config->channel_mask; in adev_open_output_stream()
2322 audio_channel_count_from_out_mask(config->channel_mask); in adev_open_output_stream()
2441 config->channel_mask = out->stream.common.get_channels(&out->stream.common); in adev_open_output_stream()
2656 int channel_count = audio_channel_count_from_in_mask(config->channel_mask); in adev_get_input_buffer_size()
2674 int channel_count = audio_channel_count_from_in_mask(config->channel_mask); in adev_open_input_stream()
2708 in->channel_mask = config->channel_mask; in adev_open_input_stream()