summaryrefslogtreecommitdiffstats
path: root/src/pulsemixerctrl.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-23 22:29:31 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-23 22:29:31 +0000
commitc7bce9fd5aba9125fb030fb3c61fa6140a743396 (patch)
tree56f5161e2c5ffd658842208226e673a1f0873e36 /src/pulsemixerctrl.h
parent16866cadb266001268b20a90839fb0be2770b24a (diff)
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
Diffstat (limited to 'src/pulsemixerctrl.h')
-rw-r--r--src/pulsemixerctrl.h9
1 files changed, 7 insertions, 2 deletions
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);