![]() |
![]() |
![]() |
libmatemixer Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <libmatemixer/matemixer.h> enum MateMixerStreamSwitchFlags; enum MateMixerStreamSwitchRole; MateMixerStreamSwitch; struct MateMixerStreamSwitchClass; MateMixerStreamSwitchFlags mate_mixer_stream_switch_get_flags (MateMixerStreamSwitch *swtch
); MateMixerStreamSwitchRole mate_mixer_stream_switch_get_role (MateMixerStreamSwitch *swtch
); MateMixerStream * mate_mixer_stream_switch_get_stream (MateMixerStreamSwitch *swtch
);
"flags" MateMixerStreamSwitchFlags : Read / Write / Construct Only "role" MateMixerStreamSwitchRole : Read / Write / Construct Only "stream" MateMixerStream* : Read / Write / Construct Only
typedef enum { /*< flags >*/ MATE_MIXER_STREAM_SWITCH_NO_FLAGS = 0, MATE_MIXER_STREAM_SWITCH_TOGGLE = 1 << 0, } MateMixerStreamSwitchFlags;
No flags. | |
The switch is a MateMixerStreamToggle. |
typedef enum { MATE_MIXER_STREAM_SWITCH_ROLE_UNKNOWN, MATE_MIXER_STREAM_SWITCH_ROLE_PORT, MATE_MIXER_STREAM_SWITCH_ROLE_BOOST } MateMixerStreamSwitchRole;
typedef struct _MateMixerStreamSwitch MateMixerStreamSwitch;
The MateMixerStreamSwitch structure contains only private data and should only be accessed using the provided API.
struct MateMixerStreamSwitchClass { MateMixerSwitchClass parent_class; };
The class structure for MateMixerStreamSwitch.
MateMixerSwitchClass |
The parent class. |
MateMixerStreamSwitchFlags mate_mixer_stream_switch_get_flags
(MateMixerStreamSwitch *swtch
);
Gets the flags of the switch. See MateMixerStreamSwitchFlags for information about the meaning of the individual flags.
|
a MateMixerStreamSwitch |
Returns : |
the flags of the switch. |
MateMixerStreamSwitchRole mate_mixer_stream_switch_get_role
(MateMixerStreamSwitch *swtch
);
Gets the role of the switch. The role identifies the purpose of the switch.
|
a MateMixerStreamSwitch |
Returns : |
the switch role. |
MateMixerStream * mate_mixer_stream_switch_get_stream (MateMixerStreamSwitch *swtch
);
|
a MateMixerStreamSwitch |
"flags"
property"flags" MateMixerStreamSwitchFlags : Read / Write / Construct Only
Flags of the switch.
"role"
property"role" MateMixerStreamSwitchRole : Read / Write / Construct Only
Role of the switch.
Default value: MATE_MIXER_STREAM_SWITCH_ROLE_UNKNOWN
"stream"
property"stream" MateMixerStream* : Read / Write / Construct Only
Stream owning the switch.