ALSA Library Reference Manual
DECLARATION
typedef struct snd_pcm_channel_info
{
int subdevice; /* subdevice number */
char subname[32]; /* subdevice name */
int channel; /* channel information */
int mode; /* transfer mode */
snd_pcm_sync_t sync; /* hardware synchronization ID */
unsigned int flags; /* see to SND_PCM_CHNINFO_XXXX */
unsigned int formats; /* supported formats */
unsigned int rates; /* hardware rates */
int min_rate; /* min rate (in Hz) */
int max_rate; /* max rate (in Hz) */
int min_voices; /* min voices (probably always 1) */
int max_voices; /* max voices */
int buffer_size; /* max buffer size in bytes */
int min_fragment_size; /* min fragment size in bytes */
int max_fragment_size; /* max fragment size in bytes */
int fragment_align; /* align fragment value */
int fifo_size; /* stream FIFO size in bytes */
int transfer_block_size; /* bus transfer block size in bytes */
snd_pcm_digital_t dig_mask; /* AES/EBU/IEC958 supported bits, zero = no AES/EBU/IEC958 */
long mmap_size; /* mmap data size */
int mixer_device; /* mixer device */
snd_mixer_eid_t mixer_eid; /* mixer element identification */
char reserved[64]; /* reserved for future... */
}
snd_pcm_channel_info_t;
REFERENCE