Lines Matching defs:count
347 u = mixer->count;
417 if (mixer->count == mixer->alloc) {
427 if (mixer->count == 0) {
441 (mixer->count - idx) * sizeof(snd_mixer_elem_t *));
444 mixer->count++;
462 assert(mixer->count);
473 mixer->count--;
474 m = mixer->count - idx;
562 for (k = mixer->count; k > 0; k--) {
622 assert(mixer->count == 0);
665 qsort(mixer->pelems, mixer->count, sizeof(snd_mixer_elem_t *), mixer_compare);
666 for (k = 0; k < mixer->count; k++)
693 * \brief get count of poll descriptors for mixer handle
695 * \return count of poll descriptors
719 * \return count of filled descriptors
724 unsigned int count = 0;
734 count += n;
740 return count;
747 * \param nfds count of poll descriptors
776 int count;
777 count = snd_mixer_poll_descriptors(mixer, pfds, sizeof(spfds) / sizeof(spfds[0]));
778 if (count < 0)
779 return count;
780 if ((unsigned int) count > sizeof(spfds) / sizeof(spfds[0])) {
781 pfds = alloca(count * sizeof(*pfds));
785 (unsigned int) count);
786 assert(err == count);
788 err = poll(pfds, (unsigned int) count, timeout);
901 * \brief Get elements count for a mixer
903 * \return elements count
908 return mixer->count;