Get information about a mixer element and allocate required buffering
#include <sys/asoundlib.h> int snd_mixer_element_info_build( snd_mixer_t *handle, snd_mixer_element_info_t *element );
The snd_mixer_element_info_build() function performs the same task as snd_mixer_element_info(), but it also allocates the extra buffering that a caller must provide to hold the full element information.
Use snd_mixer_element_info_free() to free the additional memory this function allocates.
EOK on success, a negative errno upon failure.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |