Get information about a PCM channel's capabilities from a control handle
#include <sys/asoundlib.h> int snd_ctl_pcm_channel_info( snd_ctl_t *handle, int dev, int chn, int subdev, snd_pcm_channel_info_t *info );
libasound.so
The snd_ctl_pcm_channel_info() function fills the info structure with data about the PCM subchannel subdev in the PCM channel chn on the sound card selected by handle.
This function gets information about the complete capabilities of the system. It's similar to snd_pcm_channel_info() and snd_pcm_plugin_info(), but these functions get a dynamic “snapshot” of the system's current capabilities, which can shrink and grow as subchannels are allocated and freed. |
Zero on success, or a negative error code.
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
snd_ctl_open(), snd_pcm_channel_info(), snd_pcm_channel_info_t, snd_pcm_plugin_info()