Close a control handle
#include <sys/asoundlib.h> int snd_mixer_close( snd_mixer_t * handle );
libasound.so
The snd_mixer_close() function frees all the resources allocated with the mixer handle and closes the connection to the sound mixer interface.
Zero on success, or a negative value on error.
See the example in Closing the mixer in the Controlling volume and balance chapter.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |