| Updated: October 28, 2024 | 
Stop AFM processing
#include <sys/asoundlib.h> int snd_afm_stop( snd_afm_t *handle );
The snd_afm_stop() function stops AFM audio or ACS link processing. No error is returned if the AFM is already stopped.
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.