Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pcm_cap_t.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pcm_cap_t.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pcm_cap_t.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pcm_cap_t.html on line 8

ado_pcm_cap_t

Data structure of capabilities of a PCM device

Synopsis:

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;

Description:

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:

or one of:

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.

Classification:

QNX Neutrino

See also:

ado_pcm_create()

snd_pcm_channel_info(), snd_pcm_find() in the QNX Audio Developer's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pcm_cap_t.html on line 189

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pcm_cap_t.html on line 189