Lines Matching refs:suggested
111 AudioConfig &suggested) { in checkAudioConfig() argument
112 bool valid = checkSampleRateHz(cfg.sampleRateHz, suggested.sampleRateHz); in checkAudioConfig()
118 suggested.channelMask = AudioChannelMask::OUT_STEREO | 0; in checkAudioConfig()
121 suggested.channelMask = cfg.channelMask; in checkAudioConfig()
127 suggested.channelMask = AudioChannelMask::IN_STEREO | 0; in checkAudioConfig()
130 suggested.channelMask = cfg.channelMask; in checkAudioConfig()
137 suggested.format = AudioFormat::PCM_16_BIT; in checkAudioConfig()
140 suggested.format = cfg.format; in checkAudioConfig()
143 suggested.offloadInfo = cfg.offloadInfo; // don't care in checkAudioConfig()
145 suggested.frameCount = (cfg.frameCount == 0) in checkAudioConfig()
146 ? getBufferSizeFrames(duration_ms, suggested.sampleRateHz) in checkAudioConfig()