diff options
author | Michal Ratajsky <[email protected]> | 2014-06-07 01:07:02 +0200 |
---|---|---|
committer | Michal Ratajsky <[email protected]> | 2014-06-07 01:07:02 +0200 |
commit | d2c3a4be634018a2b63f4c80a26f9024a0d3de47 (patch) | |
tree | f0f8128aa2e914de6c1449bf5ef999dfebbc9767 /backends/pulse/pulse-device.h | |
parent | 9b4cafb0b47c6ec453d301bd812ae7001955dc2a (diff) | |
download | libmatemixer-d2c3a4be634018a2b63f4c80a26f9024a0d3de47.tar.bz2 libmatemixer-d2c3a4be634018a2b63f4c80a26f9024a0d3de47.tar.xz |
Weekly update
Diffstat (limited to 'backends/pulse/pulse-device.h')
-rw-r--r-- | backends/pulse/pulse-device.h | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/backends/pulse/pulse-device.h b/backends/pulse/pulse-device.h index ab997fe..896b02b 100644 --- a/backends/pulse/pulse-device.h +++ b/backends/pulse/pulse-device.h @@ -22,10 +22,12 @@ #include <glib-object.h> #include <libmatemixer/matemixer-device.h> -#include <libmatemixer/matemixer-device-profile.h> +#include <libmatemixer/matemixer-profile.h> #include <pulse/pulseaudio.h> +#include "pulse-connection.h" + G_BEGIN_DECLS #define MATE_MIXER_TYPE_PULSE_DEVICE \ @@ -54,26 +56,35 @@ struct _MateMixerPulseDevice struct _MateMixerPulseDeviceClass { - GObjectClass parent; + GObjectClass parent; }; GType mate_mixer_pulse_device_get_type (void) G_GNUC_CONST; -MateMixerPulseDevice *mate_mixer_pulse_device_new (const pa_card_info *info); +MateMixerPulseDevice *mate_mixer_pulse_device_new (MateMixerPulseConnection *connection, + const pa_card_info *info); gboolean mate_mixer_pulse_device_update (MateMixerPulseDevice *device, const pa_card_info *info); +MateMixerPulseConnection *mate_mixer_pulse_device_get_connection (MateMixerPulseDevice *device); + +guint32 mate_mixer_pulse_device_get_index (MateMixerPulseDevice *device); + /* Interface implementation */ -const GList *mate_mixer_pulse_device_list_tracks (MateMixerDevice *device); +const gchar *mate_mixer_pulse_device_get_name (MateMixerDevice *device); +const gchar *mate_mixer_pulse_device_get_description (MateMixerDevice *device); +const gchar *mate_mixer_pulse_device_get_icon (MateMixerDevice *device); + +const GList *mate_mixer_pulse_device_list_streams (MateMixerDevice *device); -const GList *mate_mixer_pulse_device_get_ports (MateMixerDevice *device); -const GList *mate_mixer_pulse_device_get_profiles (MateMixerDevice *device); +const GList *mate_mixer_pulse_device_list_ports (MateMixerDevice *device); +const GList *mate_mixer_pulse_device_list_profiles (MateMixerDevice *device); -MateMixerDeviceProfile *mate_mixer_pulse_device_get_active_profile (MateMixerDevice *device); +MateMixerProfile *mate_mixer_pulse_device_get_active_profile (MateMixerDevice *device); gboolean mate_mixer_pulse_device_set_active_profile (MateMixerDevice *device, - MateMixerDeviceProfile *profile); + const gchar *name); G_END_DECLS |