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

snd_mixer_routes_t

Information about mixer routes

Synopsis:

typedef struct snd_mixer_routes_s
{
    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 zero */
}       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().


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

The members of the snd_mixer_routes_t structure include:

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:

Photon

See also:

snd_mixer_routes()