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/pulseprobe.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ext/pulse/pulseprobe.c') diff --git a/ext/pulse/pulseprobe.c b/ext/pulse/pulseprobe.c index 3c601c2f..b393b2c2 100644 --- a/ext/pulse/pulseprobe.c +++ b/ext/pulse/pulseprobe.c @@ -201,7 +201,7 @@ gst_pulseprobe_enumerate (GstPulseProbe * c) goto unlock_and_fail; } - c->operation_success = 0; + c->operation_success = FALSE; while (pa_operation_get_state (o) == PA_OPERATION_RUNNING) { @@ -232,7 +232,7 @@ gst_pulseprobe_enumerate (GstPulseProbe * c) goto unlock_and_fail; } - c->operation_success = 0; + c->operation_success = FALSE; while (pa_operation_get_state (o) == PA_OPERATION_RUNNING) { if (gst_pulseprobe_is_dead (c)) @@ -308,8 +308,11 @@ gst_pulseprobe_new (GObject * object, GObjectClass * klass, c->prop_id = prop_id; c->properties = g_list_append (NULL, g_object_class_find_property (klass, "device")); + c->devices = NULL; - c->devices_valid = 0; + c->devices_valid = FALSE; + + c->operation_success = FALSE; return c; } -- cgit