snd_mixer_sort_gid_table()

Updated: April 19, 2023

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

Use the -l asound option with qcc to link against this library.

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