| Updated: October 28, 2024 |
Set a mixer element's configurable parameters
#include <sys/asoundlib.h>
int snd_mixer_element_write(
snd_mixer_t *handle,
snd_mixer_element_t *element );
The snd_mixer_element_write() function writes the given snd_mixer_element_t structure to the driver.
Zero on success, or a negative value on error.
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
The write may fail with -EBUSY if another application has modified the element, and this application hasn't read that event yet using snd_mixer_read().