summaryrefslogtreecommitdiffstats
path: root/ext/pulse/pulseprobe.c
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/pulseprobe.c
parent18db08720487c6a2300080d2a56bb774ea27e040 (diff)
pulse: make a few things smaller by making them bitfields
Diffstat (limited to 'ext/pulse/pulseprobe.c')
-rw-r--r--ext/pulse/pulseprobe.c9
1 files changed, 6 insertions, 3 deletions
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;
}