Close an AFM handle and free its resources
#include <sys/asoundlib.h> int snd_afm_close( snd_afm_t *handle );
(QNX Software Development Platform 6.6 io-audio patch [patch ID 4510] or later) The snd_afm_close() function frees all resources allocated with the AMP Functional Module (AFM) handle and closes the connection to the AFM interface.
EOK on success, or a negative errno upon failure.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | No |