Lines Matching refs:proxy_config
519 struct pcm_config proxy_config;
520 memset(&proxy_config, 0, sizeof(proxy_config));
531 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile);
533 proxy_config.rate = config->sample_rate;
535 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(out->profile);
544 proxy_config.format = profile_get_default_format(out->profile);
545 config->format = audio_format_from_pcm_format(proxy_config.format);
549 proxy_config.format = fmt;
551 proxy_config.format = profile_get_default_format(out->profile);
552 config->format = audio_format_from_pcm_format(proxy_config.format);
584 proxy_config.channels = out->hal_channel_count;
585 proxy_prepare(&out->proxy, out->profile, &proxy_config);
905 struct pcm_config proxy_config;
906 memset(&proxy_config, 0, sizeof(proxy_config));
921 proxy_config.rate = config->sample_rate = in->dev->device_sample_rate;
923 in->dev->device_sample_rate = proxy_config.rate = config->sample_rate;
925 proxy_config.rate = config->sample_rate = profile_get_default_sample_rate(in->profile);
932 proxy_config.format = profile_get_default_format(in->profile);
933 config->format = audio_format_from_pcm_format(proxy_config.format);
937 proxy_config.format = fmt;
939 proxy_config.format = profile_get_default_format(in->profile);
940 config->format = audio_format_from_pcm_format(proxy_config.format);
964 proxy_config.channels = profile_get_default_channel_count(in->profile);
965 proxy_prepare(&in->proxy, in->profile, &proxy_config);