Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

snd_mixer_sort_gid_table()

Sort a list of group ID structures

Synopsis:

#include <sys/asoundlib.h>

void snd_mixer_sort_gid_table( 
        snd_mixer_gid_t *list,
        int count,
        snd_mixer_weight_entry_t *table );

Arguments:

list
The list of snd_mixer_gid_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 groups.

Most applications use the default table weight structure, snd_mixer_default_weights.

Library:

libasound.so

Description:

The snd_mixer_sort_gid_table() function sorts a list of gid (group id structures) based on the names and the relative weights specified by the weight table.

Classification:

QNX Neutrino

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

See also:

snd_mixer_gid_t, snd_mixer_groups(), snd_mixer_weight_entry_t