snd_mixer_sort_eid_table()

Sort a list of element ID structures

Synopsis:

#include <sys/asoundlib.h>

void snd_mixer_sort_eid_table( 
        snd_mixer_eid_t *list,
        int count,
        snd_mixer_weight_entry_t *table );

Arguments:

list
A pointer to the list of snd_mixer_eid_t, structures that you want to sort.
count
The number of entries in the list.
table
A pointer to an array of snd_mixer_weight_entry_t structures that defines the relative weights for the elements.

Most applications use the default table weight structure, snd_mixer_default_weights.

Library:

libasound.so

Description:

The snd_mixer_sort_eid_table() function sorts a list of eid (element id structures) based on the names and the relative weights specified by the weight table.


Note: We recommend that you work with mixer groups instead of manipulating the elements directly.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

snd_mixer_eid_t, snd_mixer_elements(), snd_mixer_weight_entry_t