From c7bce9fd5aba9125fb030fb3c61fa6140a743396 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 23 Sep 2007 22:29:31 +0000 Subject: ignore old volume/mute change notifications when we change the volume git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@66 bb39ca4e-bce3-0310-b5d4-eea78a553289 --- src/pulsemixerctrl.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/pulsemixerctrl.h') diff --git a/src/pulsemixerctrl.h b/src/pulsemixerctrl.h index 378898d..40b4213 100644 --- a/src/pulsemixerctrl.h +++ b/src/pulsemixerctrl.h @@ -38,8 +38,8 @@ typedef struct _GstPulseMixerCtrl GstPulseMixerCtrl; typedef enum { GST_PULSEMIXER_UNKNOWN, GST_PULSEMIXER_SINK, - GST_PULSEMIXER_SOURCE } -GstPulseMixerType; + GST_PULSEMIXER_SOURCE +} GstPulseMixerType; struct _GstPulseMixerCtrl { GList *tracklist; @@ -60,6 +60,11 @@ struct _GstPulseMixerCtrl { GstMixerTrack *track; pa_time_event *time_event; + + int outstandig_queries; + int ignore_queries; + + gboolean update_volume, update_mute; }; GstPulseMixerCtrl* gst_pulsemixer_ctrl_new(const gchar *server, const gchar *device, GstPulseMixerType type); -- cgit