Home
last modified time | relevance | path

Searched refs:suggested (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/audio/
Dutil.cpp111 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()
[all …]
Dutil.h44 AudioConfig &suggested);