From 98d27997ef22c29fabbebeb36472ef446f61b499 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 16 Oct 2009 17:28:42 +0200 Subject: pulse: make a few things smaller by making them bitfields --- ext/pulse/pulsesink.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'ext/pulse/pulsesink.h') 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 -- cgit