snd_mixer_element_info_free()

Free memory allocated by snd_mixer_element_info_build() for the specified element

Synopsis:

#include <sys/asoundlib.h>

int snd_mixer_element_info_free(
       snd_mixer_element_info_t *element );

Arguments:

element
A pointer to the snd_mixer_element_info_t that snd_mixer_element_info_build() used.

Library:

libasound.so

Use the -l asound option with qcc to link against this library.

Description:

The snd_mixer_element_info_free() function free sht additional memory that snd_mixer_element_info_build() allocates for element information.

Returns:

EOK on success, a negative errno upon failure.

Errors:

-EINVAL
The element argument is NULL.

Classification:

QNX Neutrino

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