diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-10-16 17:28:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-10-17 00:12:51 +0200 |
commit | 98d27997ef22c29fabbebeb36472ef446f61b499 (patch) | |
tree | 17dfd2cf6ee011652be74721019aec8892349310 /ext/pulse/pulseprobe.h | |
parent | 18db08720487c6a2300080d2a56bb774ea27e040 (diff) |
pulse: make a few things smaller by making them bitfields
Diffstat (limited to 'ext/pulse/pulseprobe.h')
-rw-r--r-- | ext/pulse/pulseprobe.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ext/pulse/pulseprobe.h b/ext/pulse/pulseprobe.h index bd20591a..28cdbb8d 100644 --- a/ext/pulse/pulseprobe.h +++ b/ext/pulse/pulseprobe.h @@ -1,3 +1,5 @@ +/*-*- Mode: C; c-basic-offset: 2 -*-*/ + /* * GStreamer pulseaudio plugin * @@ -36,17 +38,20 @@ struct _GstPulseProbe { GObject *object; gchar *server; + GList *devices; - gboolean devices_valid; + gboolean devices_valid:1; + + gboolean operation_success:1; + + gboolean enumerate_sinks:1; + gboolean enumerate_sources:1; pa_threaded_mainloop *mainloop; pa_context *context; GList *properties; guint prop_id; - - int enumerate_sinks, enumerate_sources; - int operation_success; }; GstPulseProbe *gst_pulseprobe_new (GObject *object, GObjectClass * klass, |