Get general information about a PCM device
#include <sys/asoundlib.h> int snd_pcm_info( snd_pcm_t *handle, snd_pcm_info_t *info );
The snd_pcm_info() function fills the info structure with information about the capabilities of the PCM device selected by handle.
Zero on success, or a negative error code.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Read the Caveats |
This function is not thread safe if handle (snd_pcm_t) is used across multiple threads.