Searched refs:formatToCompare (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfile.cpp262 audio_format_t formatToCompare = profile->getFormat(); local
263 if (formatToCompare == format ||
265 && formatToCompare != AUDIO_FORMAT_DEFAULT
266 && audio_is_linear_pcm(formatToCompare))) {
275 format = formatToCompare;
H A DAudioPort.cpp322 audio_format_t formatToCompare = mProfiles[i]->getFormat(); local
323 if ((compareFormats(formatToCompare, format) > 0) &&
324 (compareFormats(formatToCompare, bestFormat) <= 0)) {
330 if (formatToCompare != AUDIO_FORMAT_DEFAULT && pickedChannelMask != AUDIO_CHANNEL_NONE
332 format = formatToCompare;

Completed in 214 milliseconds