ado_mixer_element_notify()

Notify the upper driver levels that there's been a change in an element

Synopsis:

#include <audio_driver.h>

void ado_mixer_element_notify
  ( ado_mixer_t *mixer,
    ado_mixer_delement_t *delement,
    uint32_t cmd,
    ado_ocb_t *ocb );

Arguments:

mixer
A pointer to the ado_mixer_t structure that specifies the mixer that the element belongs to. This structure was created by ado_mixer_create().
delement
A pointer to the element.
cmd
The type of change. Possible changes include the addition or removal of an element, and a change in an element's values; see SND_MIXER_READ_* in <sys/asound.h>
ocb
The OCB of the application making the change. This application isn't notified, because it presumably is already aware of the change. If ocb is NULL, all applications, including the one making the change, are notified.

Description:

The ado_mixer_element_notify() function is used to notify the higher levels of abstraction that there's been a change in an element.

This notification is passed up the chain, through the mixer groups associated with this element, eventually reaching user applications.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No