![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
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 the specified control device
#include <sys/asoundlib.h>
int snd_ctl_open( snd_ctl_t **handle,
                  int card );
libasound.a
The snd_ctl_open() function creates a new handle and opens a connection to the control interface for sound card number card (0-N). This handle may be used in all of the other snd_ctl_*() calls.
Zero on success, or a negative value if an error occurs.
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
![]()  | 
![]()  | 
![]()  | 
![]()  |