snd_mixer_routes_t

Information about mixer routes

Synopsis:

typedef struct snd_mixer_routes_s
{
    snd_mixer_eid_t eid;
    int32_t     routes, routes_size, routes_over;
    uint8_t     zero[4];            /* alignment -- zero fill */
    snd_mixer_eid_t *proutes;
    void        *pzero;             /* align pointers on 64-bits;
                                       point to NULL */
    uint8_t     reserved[128];      /* must be filled with zeroes */
}       snd_mixer_routes_t;

Description:

The snd_mixer_routes_t structure describes all of the routes in a mixer. You can fill this structure by calling snd_mixer_routes() .

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

The members of the snd_mixer_routes_t structure include:

eid
A pointer to a snd_mixer_eid_t structure.
routes
The total number of routes in the mixer.
routes_size
The size of this storage location in sizeof( snd_mixer_eid_t ) units (i.e. the number of entries in the proutes array). Set this member before calling snd_mixer_routes().
routes_over
The number of routes that couldn't be copied to the storage location.
proutes
NULL, or an array of snd_mixer_eid_t structures.

If proutes isn't NULL, snd_mixer_routes() stores the route IDs in the array.

Classification:

QNX Neutrino