Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

[Previous] [Contents] [Index] [Next]

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];
    uint8_t     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:
  • SND_PCM_INFO_PLAYBACK -- the playback channel is present.
  • SND_PCM_INFO_CAPTURE -- the capture channel is present.
  • SND_PCM_INFO_DUPLEX -- the hardware is capable of duplex operation.
  • SND_PCM_INFO_DUPLEX_RATE -- the playback and capture rates must be same for the duplex operation.
  • SND_PCM_INFO_DUPLEX_MONO -- the playback and capture must be monophonic for the duplex operation.
  • SND_PCM_INFO_SHARED -- some or all of the hardware channels are shared using software PCM mixing.
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()


[Previous] [Contents] [Index] [Next]