Searched refs:formatToCompare (Results 1 – 2 of 2) sorted by relevance
261 audio_format_t formatToCompare = profile->getFormat(); in checkCompatibleProfile() local262 if (formatToCompare == format || in checkCompatibleProfile()264 && formatToCompare != AUDIO_FORMAT_DEFAULT in checkCompatibleProfile()265 && audio_is_linear_pcm(formatToCompare))) { in checkCompatibleProfile()274 format = formatToCompare; in checkCompatibleProfile()
328 audio_format_t formatToCompare = mProfiles[i]->getFormat(); in pickAudioProfile() local329 if ((compareFormats(formatToCompare, format) > 0) && in pickAudioProfile()330 (compareFormats(formatToCompare, bestFormat) <= 0)) { in pickAudioProfile()336 if (formatToCompare != AUDIO_FORMAT_DEFAULT && pickedChannelMask != AUDIO_CHANNEL_NONE in pickAudioProfile()338 format = formatToCompare; in pickAudioProfile()