Lines Matching refs:channel_mask
134 uint32_t channel_mask; member
298 if(out->channel_mask > 2){ in out_get_buffer_size()
326 ALOGV("%s channel mask : %x",__func__,out->channel_mask); in out_get_channels()
327 return out->channel_mask; in out_get_channels()
695 out->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in adev_open_output_stream()
702 if (config->channel_mask == 0){ in adev_open_output_stream()
705 if(config->channel_mask == 0) in adev_open_output_stream()
706 config->channel_mask = AUDIO_CHANNEL_OUT_5POINT1; in adev_open_output_stream()
712 if (config->channel_mask == 0) in adev_open_output_stream()
713 config->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in adev_open_output_stream()
716 out->channel_mask = config->channel_mask; in adev_open_output_stream()
718 out->pcm_config.channels = popcount(config->channel_mask); in adev_open_output_stream()
743 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream()