diff options
author | Michal Ratajsky <[email protected]> | 2014-08-18 20:49:17 +0200 |
---|---|---|
committer | Michal Ratajsky <[email protected]> | 2014-08-18 20:49:17 +0200 |
commit | 5f20ab328add9442082277a57c23273a3a2125ed (patch) | |
tree | fb458ba63f25db35de6b5a9c9acf0f967020107f /backends/alsa/alsa-stream.h | |
parent | 94d24482d8b1013947c0e2dac7330180b6ae02f6 (diff) | |
download | libmatemixer-5f20ab328add9442082277a57c23273a3a2125ed.tar.bz2 libmatemixer-5f20ab328add9442082277a57c23273a3a2125ed.tar.xz |
Global update
Diffstat (limited to 'backends/alsa/alsa-stream.h')
-rw-r--r-- | backends/alsa/alsa-stream.h | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/backends/alsa/alsa-stream.h b/backends/alsa/alsa-stream.h index f26a643..5aa3095 100644 --- a/backends/alsa/alsa-stream.h +++ b/backends/alsa/alsa-stream.h @@ -22,9 +22,9 @@ #include <glib-object.h> #include <libmatemixer/matemixer.h> -#include "alsa-element.h" #include "alsa-stream-control.h" #include "alsa-switch.h" +#include "alsa-toggle.h" G_BEGIN_DECLS @@ -58,30 +58,35 @@ struct _AlsaStreamClass MateMixerStreamClass parent_class; }; -GType alsa_stream_get_type (void) G_GNUC_CONST; +GType alsa_stream_get_type (void) G_GNUC_CONST; -AlsaStream *alsa_stream_new (const gchar *name, - MateMixerDevice *device, - MateMixerStreamFlags flags); +AlsaStream * alsa_stream_new (const gchar *name, + MateMixerDevice *device, + MateMixerDirection direction); -void alsa_stream_add_control (AlsaStream *stream, - AlsaStreamControl *control); +void alsa_stream_add_control (AlsaStream *stream, + AlsaStreamControl *control); +void alsa_stream_add_switch (AlsaStream *stream, + AlsaSwitch *swtch); +void alsa_stream_add_toggle (AlsaStream *stream, + AlsaToggle *toggle); -void alsa_stream_add_switch (AlsaStream *stream, - AlsaSwitch *swtch); +gboolean alsa_stream_has_controls (AlsaStream *stream); +gboolean alsa_stream_has_switches (AlsaStream *stream); +gboolean alsa_stream_has_controls_or_switches (AlsaStream *stream); +gboolean alsa_stream_has_default_control (AlsaStream *stream); -gboolean alsa_stream_is_empty (AlsaStream *stream); +AlsaStreamControl *alsa_stream_get_default_control (AlsaStream *stream); +void alsa_stream_set_default_control (AlsaStream *stream, + AlsaStreamControl *control); -void alsa_stream_set_default_control (AlsaStream *stream, - AlsaStreamControl *control); +void alsa_stream_load_elements (AlsaStream *stream, + const gchar *name); -void alsa_stream_load_elements (AlsaStream *stream, - const gchar *name); +gboolean alsa_stream_remove_elements (AlsaStream *stream, + const gchar *name); -gboolean alsa_stream_remove_elements (AlsaStream *stream, - const gchar *name); - -void alsa_stream_remove_all (AlsaStream *stream); +void alsa_stream_remove_all (AlsaStream *stream); G_END_DECLS |