snd_mixer_element_t

Mixer element control structure

Synopsis:

typedef struct snd_mixer_element
{
    snd_mixer_eid_t eid;
    union
    {
        snd_mixer_element_switch1           switch1;
        snd_mixer_element_switch2           switch2;
        snd_mixer_element_switch3           switch3;
        snd_mixer_element_volume1           volume1;
        snd_mixer_element_volume2           volume2;
        snd_mixer_element_accu3             accu3;
        snd_mixer_element_mux1              mux1;
        snd_mixer_element_mux2              mux2;
        snd_mixer_element_tone_control1     tc1;
        snd_mixer_element_3d_effect1        teffect1;
        snd_mixer_element_pan_control1      pc1;
        snd_mixer_element_pre_effect1       peffect1;
        uint8_t                             reserved[128];
            /* must be filled with zeroes */
    }       data;
    uint8_t     reserved[128];      /* must be filled with zeroes */
}       snd_mixer_element_t;

Description:

The snd_mixer_element_t structure contains the settings associated with a mixer element.


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

Classification:

QNX Neutrino

See also:

snd_mixer_eid_t, snd_mixer_element_read(), snd_mixer_element_write()