snd_pcm_info_t

Capability information about a PCM device

Synopsis:

typedef struct snd_pcm_info
{
    uint32_t    type;
    uint32_t    flags;
    uint8_t     id[64];
    char        name[80];
    int32_t     playback;
    int32_t     capture;
    int32_t     card;
    int32_t     device;
    int32_t     shared_card;
    int32_t     shared_device;
    uint8_t     reserved[128];      /* must be filled with zeroes */
}       snd_pcm_info_t;

Description:

The snd_pcm_info_t structure describes the capabilities of a PCM device. The members include:

type
Sound card type. Deprecated. Do not use.
flags
Any combination of:
id[64]
ID of this PCM device (user selectable).
name[80]
Name of the device.
playback
Number of playback subdevices - 1.
capture
Number of capture subdevices - 1.
card
Card number.
device
Device number.
shared_card
Number of shared cards for this PCM device.
shared_device
Number of shared devices for this PCM device.

Classification:

QNX Neutrino

See also:

snd_ctl_pcm_info(), snd_pcm_info()