Lines Matching refs:suggested
48 bool checkSampleRateHz(uint32_t value, uint32_t &suggested) { in checkSampleRateHz() argument
51 suggested = supported; in checkSampleRateHz()
56 suggested = kSupportedRatesHz.back(); in checkSampleRateHz()
62 AudioChannelMask &suggested) { in checkChannelMask() argument
68 suggested = value; in checkChannelMask()
72 suggested = toString(isOut ? in checkChannelMask()
79 bool checkFormat(const AudioFormat &value, AudioFormat &suggested) { in checkFormat() argument
82 suggested = value; in checkFormat()
86 suggested = toString(xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT); in checkFormat()
157 AudioConfig &suggested) { in checkAudioConfig() argument
159 suggested = src; in checkAudioConfig()
161 if (!checkSampleRateHz(src.base.sampleRateHz, suggested.base.sampleRateHz)) { in checkAudioConfig()
165 if (!checkChannelMask(isOut, src.base.channelMask, suggested.base.channelMask)) { in checkAudioConfig()
169 if (!checkFormat(src.base.format, suggested.base.format)) { in checkAudioConfig()
174 suggested.frameCount = getBufferSizeFrames(duration_ms, src.base.sampleRateHz, in checkAudioConfig()