![]() |
![]() |
![]() |
![]() |
Current configuration of a PCM channel
typedef struct snd_pcm_channel_setup
{
int32_t channel;
int32_t mode;
snd_pcm_format_t format;
snd_pcm_digital_t digital;
union
{
struct
{
int32_t queue_size;
uint8_t reserved[124]; /* must be filled with zeroes */
} stream;
struct
{
int32_t frag_size;
int32_t frags;
int32_t frags_min;
int32_t frags_max;
uint32_t max_frag_size;
uint8_t reserved[124]; /* must be filled with zeroes */
} block;
uint8_t reserved[128]; /* must be filled with zeroes */
} buf;
int16_t msbits_per_sample;
int16_t pad1;
int32_t mixer_device;
snd_mixer_eid_t *mixer_eid;
snd_mixer_gid_t *mixer_gid;
uint8_t mmap_valid:1;
uint8_t mmap_active:1;
int32_t mixer_card;
uint8_t reserved[104]; /* must be filled with zeroes */
} snd_pcm_channel_setup_t;
The snd_pcm_channel_setup_t structure describes the current configuration of a PCM channel. The members include:
QNX Neutrino
snd_mixer_gid_t, snd_pcm_channel_setup(), snd_pcm_format_t, snd_pcm_plugin_setup()
![]() |
![]() |
![]() |
![]() |