This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Create a connection and handle to a specified mixer device
#include <sys/asoundlib.h> int snd_mixer_open( snd_mixer_t **handle, int card, int device );
libasound.so
The snd_mixer_open() function creates a connection and handle to the mixer device specified by the card and device number. You'll use this handle when calling the other snd_mixer_* functions.
Zero on success, or a negative value on error.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |