![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Information about a mixer's switch
typedef struct snd_switch
{
int32_t iface;
int32_t device;
int32_t channel;
uint8_t name[36];
uint32_t type;
uint32_t subtype;
union
{
uint32_t enable:1;
struct
{
uint8_t data;
uint8_t low;
uint8_t high;
}
byte;
struct
{
uint16_t data;
uint16_t low;
uint16_t high;
}
word;
struct
{
uint32_t data;
uint32_t low;
uint32_t high;
}
dword;
struct
{
uint32_t data;
uint32_t items[30];
uint32_t items_cnt;
}
list;
struct
{
uint8_t selection;
char strings[11][11];
uint8_t strings_cnt;
}
string_11;
}
value;
}
The snd_switch_t structure describes the switches for a mixer. You can fill this structure by calling snd_ctl_mixer_switch_read().
The members include:
QNX Neutrino
snd_ctl_mixer_switch_read(), snd_ctl_mixer_switch_write()
![]() |
![]() |
![]() |
![]() |