Remove pa_bool_t and replace it with bool
[platform/upstream/pulseaudio.git] / src / pulsecore / sink-input.c
index 999527a..612f481 100644 (file)
@@ -849,8 +849,8 @@ void pa_sink_input_put(pa_sink_input *i) {
     update_n_corked(i, state);
     i->state = state;
 
-    i->corked = FALSE;
-    i->corked_internal = FALSE;
+    i->corked = false;
+    i->corked_internal = false;
 
     /* We might need to update the sink's volume if we are in flat volume mode. */
     if (pa_sink_flat_volume_enabled(i->sink))
@@ -2157,7 +2157,7 @@ int pa_sink_input_process_msg(pa_msgobject *o, int code, void *userdata, int64_t
             /* we have ongoing ramp where we take current start values */
             pa_cvolume_ramp_start_from(&i->thread_info.ramp, &i->ramp);
             i->thread_info.ramp = i->ramp;
-            pa_sink_input_request_rewind(i, 0, TRUE, FALSE, FALSE);
+            pa_sink_input_request_rewind(i, 0, true, false, false);
             return 0;
 
         case PA_SINK_INPUT_MESSAGE_SET_SOFT_MUTE: