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/pulse/pulse-sink.h | |
parent | 94d24482d8b1013947c0e2dac7330180b6ae02f6 (diff) | |
download | libmatemixer-5f20ab328add9442082277a57c23273a3a2125ed.tar.bz2 libmatemixer-5f20ab328add9442082277a57c23273a3a2125ed.tar.xz |
Global update
Diffstat (limited to 'backends/pulse/pulse-sink.h')
-rw-r--r-- | backends/pulse/pulse-sink.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/backends/pulse/pulse-sink.h b/backends/pulse/pulse-sink.h index c0631ca..5eaeaa0 100644 --- a/backends/pulse/pulse-sink.h +++ b/backends/pulse/pulse-sink.h @@ -23,9 +23,8 @@ #include <pulse/pulseaudio.h> -#include "pulse-connection.h" -#include "pulse-device.h" #include "pulse-stream.h" +#include "pulse-types.h" G_BEGIN_DECLS @@ -42,7 +41,6 @@ G_BEGIN_DECLS #define PULSE_SINK_GET_CLASS(o) \ (G_TYPE_INSTANCE_GET_CLASS ((o), PULSE_TYPE_SINK, PulseSinkClass)) -typedef struct _PulseSink PulseSink; typedef struct _PulseSinkClass PulseSinkClass; typedef struct _PulseSinkPrivate PulseSinkPrivate; @@ -59,17 +57,21 @@ struct _PulseSinkClass PulseStreamClass parent_class; }; -GType pulse_sink_get_type (void) G_GNUC_CONST; +GType pulse_sink_get_type (void) G_GNUC_CONST; -PulseStream *pulse_sink_new (PulseConnection *connection, - const pa_sink_info *info, - PulseDevice *device); +PulseSink *pulse_sink_new (PulseConnection *connection, + const pa_sink_info *info, + PulseDevice *device); -guint32 pulse_sink_get_monitor_index (PulseStream *pstream); +void pulse_sink_add_input (PulseSink *sink, + const pa_sink_input_info *info); -gboolean pulse_sink_update (PulseStream *pstream, - const pa_sink_info *info, - PulseDevice *device); +void pulse_sink_remove_input (PulseSink *sink, guint32 index); + +void pulse_sink_update (PulseSink *sink, + const pa_sink_info *info); + +guint32 pulse_sink_get_index_monitor (PulseSink *sink); G_END_DECLS |