![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
PCM channel parameters
typedef struct snd_pcm_channel_params
{
int32_t channel;
int32_t mode;
snd_pcm_sync_t sync; /* hardware synchronization ID */
snd_pcm_format_t format;
snd_pcm_digital_t digital;
int32_t start_mode;
int32_t stop_mode;
int32_t time:1, ust_time:1;
uint32_t why_failed; /* SND_PCM_PARAMS_BAD_??? */
union
{
struct
{
int32_t queue_size;
int32_t fill;
int32_t max_fill;
uint8_t reserved[124]; /* must be filled with zero */
} stream;
struct
{
int32_t frag_size;
int32_t frags_min;
int32_t frags_max;
uint8_t reserved[124]; /* must be filled with zero */
} block;
uint8_t reserved[128]; /* must be filled with zero */
} buf;
uint8_t reserved[128]; /* must be filled with zero */
} snd_pcm_channel_params_t;
The snd_pcm_channel_params_t structure describes the parameters of a PCM capture or playback channel. The members include:
QNX Neutrino
snd_pcm_channel_params(), snd_pcm_format_t
![]() |
![]() |
![]() |
![]() |