Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

[Previous] [Contents] [Index] [Next]

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


[Previous] [Contents] [Index] [Next]