ado_mixer_unlock()

Unlock the attribute structure

Synopsis:

#include <audio_driver.h>

int32_t ado_mixer_unlock( ado_mixer_t *mixer );

Arguments:

mixer
A pointer to the ado_mixer_t structure for the mixer.

Description:

The ado_mixer_unlock() function unlocks the attribute structure. This function is a cover of iofunc_attr_unlock() using the mixer attributes.

The library automatically locks the mixer's attributes structure before any low-level mixer code is called, so you need this function only if some other functions, such as the PCM functions, need to manipulate the mixer structure.

Returns:

EOK
Success.
EAGAIN
On the first use, all kernel mutex objects were in use.

Classification:

QNX Neutrino

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

See also:

ado_mixer_lock()

iofunc_attr_unlock() in the QNX Library Reference