Data structure of capabilities of a PCM device
struct ado_pcm_cap
{
   uint32_t chn_flags;
   uint32_t formats;
   uint32_t rates;
   uint32_t min_rate;
   uint32_t max_rate;
   uint32_t min_voices;
   uint32_t max_voices;
   uint32_t min_fragsize;
   uint32_t max_fragsize;
   uint32_t max_dma_size;
   uint32_t max_frags;
} ado_pcm_cap_t;
The ado_pcm_cap_t structure describes the capabilities of the
playback or capture portion of a PCM device.
The members include:
- chn_flags
- One of the SND_PCM_CHNINFO_* flags.
  For more information, see
  snd_pcm_channel_info()
  in the QNX Audio Developer's Guide.
  
- formats
- The formats supported; any combination of the
  SND_PCM_FMT_* flags.
  For more information, see
  snd_pcm_find()
  in the QNX Audio Developer's Guide.
  
- rates
- The sample rate; a combination of:
  
  
- SND_PCM_RATE_8000
  
- SND_PCM_RATE_11025
  
- SND_PCM_RATE_16000
  
- SND_PCM_RATE_22050
  
- SND_PCM_RATE_32000
  
- SND_PCM_RATE_44100
  
- SND_PCM_RATE_48000
  
- SND_PCM_RATE_88200
  
- SND_PCM_RATE_96000
  
- SND_PCM_RATE_176400
  
- SND_PCM_RATE_192000
  
   or one of:
   
- SND_PCM_RATE_CONTINUOUS — see min_rate
    and max_rate.
  
- SND_PCM_RATE_8000_44100 — all the above rates
    from 8000 through 44100.
  
- SND_PCM_RATE_8000_48000 — all the above rates
    from 8000 through 48000.
  
 
- min_rate
- The minimum sample rate if rates is
  SND_PCM_RATE_CONTINUOUS. 
- max_rate
- The maximum sample rate if rates is
  SND_PCM_RATE_CONTINUOUS. 
- min_voices
- Minimum number of voices.
- max_voices
- Maximum number of voices.
- min_fragsize
- Minimum fragment size for DMA transfer.
- max_fragsize
- Maximum fragment size for DMA transfer.
- max_dma_size
- Maximum DMA buffer size.
  A value of 0 means no limit.
- max_frags
- Maximum number of fragments.
  A value of 0 means no limit.
QNX Neutrino
ado_pcm_create()
snd_pcm_channel_info(),
snd_pcm_find()
in the QNX Audio Developer's Guide