snd_mixer_close()

Close a mixer handle

Synopsis:

#include <sys/asoundlib.h>

int snd_mixer_close( snd_mixer_t *handle );

Arguments:

handle
The handle for the mixer device. This must have been created by snd_mixer_open() .

Library:

libasound.so

Use the -l asound option to qcc to link against this library.

Description:

The snd_mixer_close() function frees all the resources allocated with the mixer handle and closes the connection to the sound mixer interface.

Returns:

Zero, or a negative value on error.

Errors:

-EINTR
The close() call was interrupted by a signal.
-EINVAL
Invalid handle argument.
-EIO
An I/O error occurred while updating the directory information.
-ENOSPC
A previous buffered write call has failed.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes