Lines Matching refs:proxy_config

561     struct pcm_config proxy_config;  in adev_open_output_stream()  local
562 memset(&proxy_config, 0, sizeof(proxy_config)); in adev_open_output_stream()
573 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(&out->profile); in adev_open_output_stream()
575 proxy_config.rate = config->sample_rate; in adev_open_output_stream()
577 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(&out->profile); in adev_open_output_stream()
588 proxy_config.format = profile_get_default_format(&out->profile); in adev_open_output_stream()
589 config->format = audio_format_from_pcm_format(proxy_config.format); in adev_open_output_stream()
593 proxy_config.format = fmt; in adev_open_output_stream()
595 proxy_config.format = profile_get_default_format(&out->profile); in adev_open_output_stream()
596 config->format = audio_format_from_pcm_format(proxy_config.format); in adev_open_output_stream()
633 proxy_config.channels = in adev_open_output_stream()
635 proxy_prepare(&out->proxy, &out->profile, &proxy_config); in adev_open_output_stream()
1000 struct pcm_config proxy_config; in adev_open_input_stream() local
1001 memset(&proxy_config, 0, sizeof(proxy_config)); in adev_open_input_stream()
1043 proxy_config.rate = config->sample_rate = in adev_open_input_stream()
1045 if (request_config_rate != 0 && proxy_config.rate != config->sample_rate) { in adev_open_input_stream()
1055 proxy_config.rate = config->sample_rate; in adev_open_input_stream()
1057 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(&in->profile); in adev_open_input_stream()
1063 proxy_config.format = profile_get_default_format(&in->profile); in adev_open_input_stream()
1064 config->format = audio_format_from_pcm_format(proxy_config.format); in adev_open_input_stream()
1068 proxy_config.format = fmt; in adev_open_input_stream()
1070 proxy_config.format = profile_get_default_format(&in->profile); in adev_open_input_stream()
1071 config->format = audio_format_from_pcm_format(proxy_config.format); in adev_open_input_stream()
1116 proxy_config.channels = in adev_open_input_stream()
1118 ret = proxy_prepare(&in->proxy, &in->profile, &proxy_config); in adev_open_input_stream()