Searched refs:compareFormats (Results 1 – 2 of 2) sorted by relevance
78 static int compareFormats(const audio_format_t *format1, const audio_format_t *format2) { in compareFormats() function79 return compareFormats(*format1, *format2); in compareFormats()81 static int compareFormats(audio_format_t format1, audio_format_t format2);
208 mFormats.sort(compareFormats); in loadFormats()675 int AudioPort::compareFormats(audio_format_t format1, in compareFormats() function in android::AudioPort726 if ((compareFormats(mFormats[i], format) > 0) && in pickFormat()727 (compareFormats(mFormats[i], bestFormat) <= 0)) { in pickFormat()