Get the currently applied audio mode
#include <sys/asoundlib.h> int snd_afm_get_audio_mode( snd_afm_t *handle, char *mode, int size );
The snd_afm_get_audio_mode() function gets the currently applied audio mode that's used to tune acoustic processing parameters.
EOK on success, or a negative errno value upon failure.
This function can also return the return values of devctl() (see devctl() in the QNX Neutrino C Library Reference).
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.