Lines Matching refs:compare
327 assert(hctl->compare);
334 c = hctl->compare(&el, hctl->pelems[idx]);
415 return compare_hctl->compare(*(const snd_hctl_elem_t * const *) a,
427 assert(hctl->compare);
443 * \brief Change HCTL compare function and reorder elements
445 * \param compare Element compare function
448 int snd_hctl_set_compare(snd_hctl_t *hctl, snd_hctl_compare_t compare)
451 hctl->compare = compare == NULL ? snd_hctl_compare_default : compare;
457 * \brief A "don't care" fast compare functions that may be used with #snd_hctl_set_compare
609 if (!hctl->compare)
610 hctl->compare = snd_hctl_compare_default;