Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

[Previous] [Contents] [Index] [Next]

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

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:

-EBADF
Invalid file descriptor. Your handle may be corrupt.
-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

See also:

snd_mixer_open()


[Previous] [Contents] [Index] [Next]