summaryrefslogtreecommitdiffstats
path: root/ext/pulse/pulsesink.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-10-16 17:28:42 +0200
committerLennart Poettering <lennart@poettering.net>2009-10-17 00:12:51 +0200
commit98d27997ef22c29fabbebeb36472ef446f61b499 (patch)
tree17dfd2cf6ee011652be74721019aec8892349310 /ext/pulse/pulsesink.h
parent18db08720487c6a2300080d2a56bb774ea27e040 (diff)
pulse: make a few things smaller by making them bitfields
Diffstat (limited to 'ext/pulse/pulsesink.h')
-rw-r--r--ext/pulse/pulsesink.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/ext/pulse/pulsesink.h b/ext/pulse/pulsesink.h
index c7ff2e87..ae0ad95f 100644
--- a/ext/pulse/pulsesink.h
+++ b/ext/pulse/pulsesink.h
@@ -1,3 +1,5 @@
+/*-*- Mode: C; c-basic-offset: 2 -*-*/
+
/*
* GStreamer pulseaudio plugin
*
@@ -60,14 +62,16 @@ struct _GstPulseSink
GstPulseProbe *probe;
gdouble volume;
- gboolean volume_set;
- gboolean mute;
- gboolean mute_set;
- gint notify;
+ gboolean volume_set:1;
+ gboolean mute:1;
+ gboolean mute_set:1;
+
+ gboolean pa_defer_ran:1;
+
+ gint notify; /* atomic */
const gchar *pa_version;
- gboolean pa_defer_ran;
};
struct _GstPulseSinkClass