![]() |
![]() |
![]() |
Return the file descriptor of the connection to the audio interface
#include <sys/asoundlib.h> int snd_pcm_file_descriptor( snd_pcm_t * handle, int channel );
libasound.so
The snd_pcm_file_descriptor() function returns the file descriptor of the connection to the sound audio interface.
The file descriptor should be used for the select() synchronous multiplexer function for setting the read direction.
The file descriptor of the connection to the audio interface on success, or an error code.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |