Set a configuration parameter for the specified AFM
#include <sys/asoundlib.h> int snd_afm_set_param( snd_afm_t *handle, int id); size_t size); const void* data);
The snd_afm_set_param() function is used only with specific AFMs. For information on which parameters are available for a specific AFM and their expected sizes, see the corresponding AFM header installed under usr/include/ado_afm/.
EOK on success, or a negative errno upon failure.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
This function is not thread safe if the handle (snd_afm_t) is used across multiple threads.