Close a mixer handle
#include <sys/asoundlib.h> int snd_mixer_close( snd_mixer_t *handle );
- The handle for the mixer device. This must have been created by snd_mixer_open() .
Use the -l asound option to qcc to link against this library.
The snd_mixer_close() function frees all the resources allocated with the mixer handle and closes the connection to the sound mixer interface.
Zero, or a negative value on error.
- The close() call was interrupted by a signal.
- Invalid handle argument.
- An I/O error occurred while updating the directory information.
- A previous buffered write call has failed.