| libmatemixer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | Signals | ||||
#include <libmatemixer/matemixer.h> enum MateMixerDirection; MateMixerStream; struct MateMixerStreamClass; const gchar * mate_mixer_stream_get_name (MateMixerStream *stream); const gchar * mate_mixer_stream_get_label (MateMixerStream *stream); MateMixerDirection mate_mixer_stream_get_direction (MateMixerStream *stream); MateMixerDevice * mate_mixer_stream_get_device (MateMixerStream *stream); MateMixerStreamControl * mate_mixer_stream_get_control (MateMixerStream *stream,const gchar *name); MateMixerStreamSwitch * mate_mixer_stream_get_switch (MateMixerStream *stream,const gchar *name); MateMixerStreamControl * mate_mixer_stream_get_default_control (MateMixerStream *stream); const GList * mate_mixer_stream_list_controls (MateMixerStream *stream); const GList * mate_mixer_stream_list_switches (MateMixerStream *stream);
"default-control" MateMixerStreamControl* : Read / Write / Construct Only "device" MateMixerDevice* : Read / Write / Construct Only "direction" MateMixerDirection : Read / Write / Construct Only "label" gchar* : Read / Write / Construct Only "name" gchar* : Read / Write / Construct Only
"control-added" :Run First"control-removed" :Run First"switch-added" :Run First"switch-removed" :Run First
typedef enum {
MATE_MIXER_DIRECTION_UNKNOWN,
MATE_MIXER_DIRECTION_INPUT,
MATE_MIXER_DIRECTION_OUTPUT,
} MateMixerDirection;
Sound stream direction.
typedef struct _MateMixerStream MateMixerStream;
The MateMixerStream structure contains only private data and should only be accessed using the provided API.
struct MateMixerStreamClass {
GObjectClass parent_class;
};
The class structure for MateMixerStream.
const gchar * mate_mixer_stream_get_name (MateMixerStream *stream);
|
a MateMixerStream |
const gchar * mate_mixer_stream_get_label (MateMixerStream *stream);
|
a MateMixerStream |
MateMixerDirection mate_mixer_stream_get_direction (MateMixerStream *stream);
|
a MateMixerStream |
MateMixerDevice * mate_mixer_stream_get_device (MateMixerStream *stream);
|
a MateMixerStream |
MateMixerStreamControl * mate_mixer_stream_get_control (MateMixerStream *stream,const gchar *name);
|
a MateMixerStream |
|
the name of a stream control |
MateMixerStreamSwitch * mate_mixer_stream_get_switch (MateMixerStream *stream,const gchar *name);
Gets the switch with the given name.
|
a MateMixerStream |
|
the name of a stream switch |
Returns : |
a MateMixerStreamSwitch or NULL if there is no such switch. |
MateMixerStreamControl * mate_mixer_stream_get_default_control
(MateMixerStream *stream);
|
a MateMixerStream |
const GList * mate_mixer_stream_list_controls (MateMixerStream *stream);
|
a MateMixerStream |
const GList * mate_mixer_stream_list_switches (MateMixerStream *stream);
|
a MateMixerStream |
"default-control" property"default-control" MateMixerStreamControl* : Read / Write / Construct Only
Default control of the stream.
"device" property"device" MateMixerDevice* : Read / Write / Construct Only
Device the stream belongs to.
"direction" property"direction" MateMixerDirection : Read / Write / Construct Only
Direction of the stream.
Default value: MATE_MIXER_DIRECTION_UNKNOWN
"label" property "label" gchar* : Read / Write / Construct Only
Label of the stream.
Default value: NULL
"control-added" signalvoid user_function (MateMixerStream *matemixerstream,
gchar *arg1,
gpointer user_data) : Run First
"control-removed" signalvoid user_function (MateMixerStream *matemixerstream,
gchar *arg1,
gpointer user_data) : Run First
"switch-added" signalvoid user_function (MateMixerStream *matemixerstream,
gchar *arg1,
gpointer user_data) : Run First
"switch-removed" signalvoid user_function (MateMixerStream *matemixerstream,
gchar *arg1,
gpointer user_data) : Run First