Lines Matching refs:config
45 struct audio_config *config, in openOutputStream() argument
49 struct audio_config originalConfig = *config; in openOutputStream()
53 ALOGV("openOutputStream(), try sampleRate %d, format %#x, channelMask %#x", config->sample_rate, in openOutputStream()
54 config->format, config->channel_mask); in openOutputStream()
55 status_t status = outputStream->open(handle, deviceType, config, address); in openOutputStream()
65 " status %d", config->sample_rate, config->format, config->channel_mask, status); in openOutputStream()
98 struct audio_config *config, in openInputStream() argument
104 struct audio_config originalConfig = *config; in openInputStream()
108 ALOGV("openInputStream(), try sampleRate %d, format %#x, channelMask %#x", config->sample_rate, in openInputStream()
109 config->format, config->channel_mask); in openInputStream()
110 status_t status = inputStream->open(handle, deviceType, config, address, source, outputDevice, in openInputStream()
117 audio_is_linear_pcm(config->format) && in openInputStream()
118 (config->sample_rate <= AUDIO_RESAMPLER_DOWN_RATIO_MAX * config->sample_rate) && in openInputStream()
119 (audio_channel_count_from_in_mask(config->channel_mask) <= FCC_LIMIT) && in openInputStream()
123 status = inputStream->open(handle, deviceType, config, address, source, in openInputStream()
138 " status %d", config->sample_rate, config->format, config->channel_mask, status); in openInputStream()