Top | ![]() |
![]() |
![]() |
![]() |
gfloat | balance | Read |
gfloat | fade | Read |
MateMixerStreamControlFlags | flags | Read / Write / Construct Only |
gchar * | label | Read / Write / Construct Only |
MateMixerStreamControlMediaRole | media-role | Read / Write / Construct Only |
gboolean | mute | Read |
gchar * | name | Read / Write / Construct Only |
MateMixerStreamControlRole | role | Read / Write / Construct Only |
MateMixerStream * | stream | Read / Write / Construct Only |
guint | volume | Read |
const gchar *
mate_mixer_stream_control_get_name (MateMixerStreamControl *control
);
const gchar *
mate_mixer_stream_control_get_label (MateMixerStreamControl *control
);
MateMixerStreamControlFlags
mate_mixer_stream_control_get_flags (MateMixerStreamControl *control
);
MateMixerStreamControlRole
mate_mixer_stream_control_get_role (MateMixerStreamControl *control
);
MateMixerStreamControlMediaRole
mate_mixer_stream_control_get_media_role
(MateMixerStreamControl *control
);
MateMixerAppInfo *
mate_mixer_stream_control_get_app_info
(MateMixerStreamControl *control
);
MateMixerStream *
mate_mixer_stream_control_get_stream (MateMixerStreamControl *control
);
gboolean mate_mixer_stream_control_set_stream (MateMixerStreamControl *control
,MateMixerStream *stream
);
gboolean
mate_mixer_stream_control_get_mute (MateMixerStreamControl *control
);
gboolean mate_mixer_stream_control_set_mute (MateMixerStreamControl *control
,gboolean mute
);
guint
mate_mixer_stream_control_get_num_channels
(MateMixerStreamControl *control
);
guint
mate_mixer_stream_control_get_volume (MateMixerStreamControl *control
);
gboolean mate_mixer_stream_control_set_volume (MateMixerStreamControl *control
,guint volume
);
gdouble
mate_mixer_stream_control_get_decibel (MateMixerStreamControl *control
);
gboolean mate_mixer_stream_control_set_decibel (MateMixerStreamControl *control
,gdouble decibel
);
gboolean mate_mixer_stream_control_has_channel_position (MateMixerStreamControl *control
,MateMixerChannelPosition position
);
MateMixerChannelPosition mate_mixer_stream_control_get_channel_position (MateMixerStreamControl *control
,guint channel
);
guint mate_mixer_stream_control_get_channel_volume (MateMixerStreamControl *control
,guint channel
);
gboolean mate_mixer_stream_control_set_channel_volume (MateMixerStreamControl *control
,guint channel
,guint volume
);
gdouble mate_mixer_stream_control_get_channel_decibel (MateMixerStreamControl *control
,guint channel
);
gboolean mate_mixer_stream_control_set_channel_decibel (MateMixerStreamControl *control
,guint channel
,gdouble decibel
);
gfloat
mate_mixer_stream_control_get_balance (MateMixerStreamControl *control
);
gboolean mate_mixer_stream_control_set_balance (MateMixerStreamControl *control
,gfloat balance
);
gfloat
mate_mixer_stream_control_get_fade (MateMixerStreamControl *control
);
gboolean mate_mixer_stream_control_set_fade (MateMixerStreamControl *control
,gfloat fade
);
gboolean
mate_mixer_stream_control_get_monitor_enabled
(MateMixerStreamControl *control
);
gboolean mate_mixer_stream_control_set_monitor_enabled (MateMixerStreamControl *control
,gboolean enabled
);
guint
mate_mixer_stream_control_get_min_volume
(MateMixerStreamControl *control
);
guint
mate_mixer_stream_control_get_max_volume
(MateMixerStreamControl *control
);
guint
mate_mixer_stream_control_get_normal_volume
(MateMixerStreamControl *control
);
guint
mate_mixer_stream_control_get_base_volume
(MateMixerStreamControl *control
);
Flags describing capabilities and properties of a stream control.
No flags. |
||
The stream control includes a mute toggle and allows reading the mute state. |
||
The stream control includes a mute toggle and allows changing the mute state. |
||
The stream control includes a volume control and allows reading the volume. |
||
The stream control includes a volume control and allows changing the volume. |
||
The stream control includes the necessary channel positions to allow left/right volume balancing. |
||
The stream control includes the necessary channel positions to allow front/back volume fading. |
||
It is possible to move the stream control to a different stream using the
|
||
The stream controls supports decibel values and it is possible to successfully use the functions which operate on decibel values. |
||
The stream control supports peak level monitoring. |
||
The stream control is a MateMixerStoredControl. |
Unknown role. |
||
Master volume control. |
||
Application volume control. |
||
PCM volume control. |
||
Speaker volume control. |
||
Microphone volume control. |
||
Volume control for a connector of a sound device. |
||
Boost control (for example a microphone boost or bass boost). |
||
Bass control. |
||
Treble control. |
||
CD input volume control. |
||
Video volume control. |
||
Music volume control. |
Constants describing a media role of a control. These constants are mapped to PulseAudio media role property and therefore are only available when using the PulseAudio sound system.
Media roles are commonly set by applications to indicate what kind of sound input/output they provide and may be the defining property of stored controls (for example an event role stored control can be used to provide a volume slider for event sounds).
See the PulseAudio documentation for more detailed information about media roles.
Unknown channel position. |
||
Mono channel. Only used for single-channel controls. |
||
Front left channel. |
||
Front right channel. |
||
Front center channel. |
||
Low-frequency effects channel (subwoofer). |
||
Back (rear) left channel. |
||
Back (rear) right channel. |
||
Back (rear) center channel. |
||
Front left of center channel. |
||
Front right of center channel. |
||
Side left channel. |
||
Side right channel. |
||
Top front left channel. |
||
Top front right channel. |
||
Top front center channel. |
||
Top center channel. |
||
Top back (rear) left channel. |
||
Top back (rear) right channel. |
||
Top back (rear) center channel. |
typedef struct _MateMixerStreamControl MateMixerStreamControl;
The MateMixerStreamControl structure contains only private data and should only be accessed using the provided API.
struct MateMixerStreamControlClass { GObjectClass parent_class; };
The class structure for MateMixerStreamControl.
“balance”
property “balance” gfloat
Balance value of the stream control.
Flags: Read
Allowed values: [-1,1]
Default value: 0
“fade”
property “fade” gfloat
Fade value of the stream control.
Flags: Read
Allowed values: [-1,1]
Default value: 0
“flags”
property“flags” MateMixerStreamControlFlags
Capability flags of the stream control.
Flags: Read / Write / Construct Only
“label”
property “label” gchar *
Label of the stream control.
Flags: Read / Write / Construct Only
Default value: NULL
“media-role”
property“media-role” MateMixerStreamControlMediaRole
Media role of the stream control.
Flags: Read / Write / Construct Only
Default value: MATE_MIXER_STREAM_CONTROL_MEDIA_ROLE_UNKNOWN
“mute”
property “mute” gboolean
Mute state of the stream control.
Flags: Read
Default value: FALSE
“name”
property “name” gchar *
Name of the stream control.
Flags: Read / Write / Construct Only
Default value: NULL
“role”
property“role” MateMixerStreamControlRole
Role of the stream control.
Flags: Read / Write / Construct Only
Default value: MATE_MIXER_STREAM_CONTROL_ROLE_UNKNOWN
“stream”
property“stream” MateMixerStream *
Stream which owns the control.
Flags: Read / Write / Construct Only
“monitor-value”
signalvoid user_function (MateMixerStreamControl *matemixerstreamcontrol, gdouble arg1, gpointer user_data)
Flags: Run First