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-input.h | |
parent | 94d24482d8b1013947c0e2dac7330180b6ae02f6 (diff) | |
download | libmatemixer-5f20ab328add9442082277a57c23273a3a2125ed.tar.bz2 libmatemixer-5f20ab328add9442082277a57c23273a3a2125ed.tar.xz |
Global update
Diffstat (limited to 'backends/pulse/pulse-sink-input.h')
-rw-r--r-- | backends/pulse/pulse-sink-input.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/backends/pulse/pulse-sink-input.h b/backends/pulse/pulse-sink-input.h index 1e5004b..127eab6 100644 --- a/backends/pulse/pulse-sink-input.h +++ b/backends/pulse/pulse-sink-input.h @@ -23,9 +23,8 @@ #include <pulse/pulseaudio.h> -#include "pulse-client-stream.h" -#include "pulse-connection.h" -#include "pulse-stream.h" +#include "pulse-stream-control.h" +#include "pulse-types.h" G_BEGIN_DECLS @@ -42,28 +41,25 @@ G_BEGIN_DECLS #define PULSE_SINK_INPUT_GET_CLASS(o) \ (G_TYPE_INSTANCE_GET_CLASS ((o), PULSE_TYPE_SINK_INPUT, PulseSinkInputClass)) -typedef struct _PulseSinkInput PulseSinkInput; typedef struct _PulseSinkInputClass PulseSinkInputClass; struct _PulseSinkInput { - PulseClientStream parent; + PulseStreamControl parent; }; struct _PulseSinkInputClass { - PulseClientStreamClass parent_class; + PulseStreamControlClass parent_class; }; -GType pulse_sink_input_get_type (void) G_GNUC_CONST; +GType pulse_sink_input_get_type (void) G_GNUC_CONST; -PulseStream *pulse_sink_input_new (PulseConnection *connection, - const pa_sink_input_info *info, - PulseStream *parent); +PulseSinkInput *pulse_sink_input_new (PulseSink *sink, + const pa_sink_input_info *info); -gboolean pulse_sink_input_update (PulseStream *pstream, - const pa_sink_input_info *info, - PulseStream *parent); +void pulse_sink_input_update (PulseSinkInput *input, + const pa_sink_input_info *info); G_END_DECLS |