diff options
author | Michal Ratajsky <[email protected]> | 2016-01-09 22:50:44 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-02-21 11:55:59 +0100 |
commit | ffbaee33908adccfe1afb1d7d6c0fcb79fbca6ca (patch) | |
tree | c87c3fbe28ab588cddb5c7b46cc056ff21ac15e4 /backends/pulse/pulse-source.h | |
parent | 9cbe39ab7c55bcad401de32716c5c8106f166291 (diff) | |
download | libmatemixer-wip.tar.bz2 libmatemixer-wip.tar.xz |
pulse: Handle moving of sink inputs and source outputswip
Diffstat (limited to 'backends/pulse/pulse-source.h')
-rw-r--r-- | backends/pulse/pulse-source.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/backends/pulse/pulse-source.h b/backends/pulse/pulse-source.h index 5f82aae..979b50f 100644 --- a/backends/pulse/pulse-source.h +++ b/backends/pulse/pulse-source.h @@ -57,20 +57,27 @@ struct _PulseSourceClass PulseStreamClass parent_class; }; -GType pulse_source_get_type (void) G_GNUC_CONST; +GType pulse_source_get_type (void) G_GNUC_CONST; -PulseSource *pulse_source_new (PulseConnection *connection, - const pa_source_info *info, - PulseDevice *device); +PulseSource * pulse_source_new (PulseConnection *connection, + const pa_source_info *info, + PulseDevice *device); -gboolean pulse_source_add_output (PulseSource *source, - const pa_source_output_info *info); +gboolean pulse_source_add_output (PulseSource *source, + PulseSourceOutput *output, + const pa_source_output_info *info); -void pulse_source_remove_output (PulseSource *source, - guint32 index); +PulseSourceOutput *pulse_source_get_output (PulseSource *source, + guint32 index); -void pulse_source_update (PulseSource *source, - const pa_source_info *info); +gboolean pulse_source_read_output (PulseSource *source, + const pa_source_output_info *info); + +void pulse_source_remove_output (PulseSource *source, + guint32 index); + +void pulse_source_update (PulseSource *source, + const pa_source_info *info); G_END_DECLS |