Searched refs:formatToCompare (Results 1 – 2 of 2) sorted by relevance
238 audio_format_t formatToCompare = audioProfiles[i]->getFormat(); in pickAudioProfile() local239 if ((compareFormats(formatToCompare, format) > 0) && in pickAudioProfile()240 (compareFormats(formatToCompare, bestFormat) <= 0)) { in pickAudioProfile()246 if (formatToCompare != AUDIO_FORMAT_DEFAULT && pickedChannelMask != AUDIO_CHANNEL_NONE in pickAudioProfile()248 format = formatToCompare; in pickAudioProfile()
390 audio_format_t formatToCompare = profile->getFormat(); in checkCompatibleProfile() local391 if (formatToCompare == format || in checkCompatibleProfile()393 && formatToCompare != AUDIO_FORMAT_DEFAULT in checkCompatibleProfile()394 && audio_is_linear_pcm(formatToCompare))) { in checkCompatibleProfile()403 format = formatToCompare; in checkCompatibleProfile()