Searched refs:formatToCompare (Results 1 – 2 of 2) sorted by relevance
248 audio_format_t formatToCompare = audioProfiles[i]->getFormat(); in pickAudioProfile() local249 if ((compareFormats(formatToCompare, format) > 0) && in pickAudioProfile()250 (compareFormats(formatToCompare, bestFormat) <= 0)) { in pickAudioProfile()256 if (formatToCompare != AUDIO_FORMAT_DEFAULT && pickedChannelMask != AUDIO_CHANNEL_NONE in pickAudioProfile()258 format = formatToCompare; in pickAudioProfile()
344 audio_format_t formatToCompare = profile->getFormat(); in checkCompatibleProfile() local345 if (formatToCompare == format || in checkCompatibleProfile()347 && formatToCompare != AUDIO_FORMAT_DEFAULT in checkCompatibleProfile()348 && audio_is_linear_pcm(formatToCompare))) { in checkCompatibleProfile()357 format = formatToCompare; in checkCompatibleProfile()