| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
Limit access to the mixer
#include <audio_driver.h> int32_t ado_mixer_lock( ado_mixer_t *mixer );
The ado_mixer_lock() locks the attribute structure, limiting access to the mixer. This function is a cover of iofunc_attr_lock(), 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.
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
iofunc_attr_lock() in the QNX Library Reference
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |