remove remaining references to pa_bool_t, TRUE and FALSE 08/25208/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 23 Jun 2014 14:20:58 +0000 (17:20 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 30 Jul 2014 16:11:40 +0000 (19:11 +0300)
Change-Id: Ia6022e08234ef187db214ad806dbd8e0acc941e8

murphy/fader.c
murphy/scripting.c
murphy/socketif.c
murphy/stream-state.c

index c128731..5c5aea7 100644 (file)
@@ -186,7 +186,7 @@ void pa_fader_ramp_volume(struct userdata *u,
                             PA_VOLUME_RAMP_TYPE_LINEAR,
                             time, newvol);
 
-        pa_sink_input_set_volume_ramp(sinp, &rampvol, TRUE, FALSE);
+        pa_sink_input_set_volume_ramp(sinp, &rampvol, true, false);
     }
 }
 
@@ -211,7 +211,7 @@ void pa_fader_set_volume(struct userdata *u,
                             PA_VOLUME_RAMP_TYPE_LINEAR,
                             0, newvol);
 
-        pa_sink_input_set_volume_ramp(sinp, &rampvol, TRUE, FALSE);
+        pa_sink_input_set_volume_ramp(sinp, &rampvol, true, false);
     }
 }
 
index a7a3c8e..6cdedeb 100644 (file)
@@ -2714,7 +2714,7 @@ static map_t *map_check(lua_State *L, int tbl)
             break;
 
         case LUA_TSTRING:
-            m->needres = FALSE;
+            m->needres = false;
             m->role = mrp_strdup(lua_tostring(L, def));
             break;
 
index bac5e0d..7cab6d2 100644 (file)
@@ -152,7 +152,7 @@ bool pa_routerif_unregister_node(struct userdata *u,
     return success;
 }
 
-pa_bool_t pa_routerif_register_implicit_connections(struct userdata *u,
+bool pa_routerif_register_implicit_connections(struct userdata *u,
                                                     int              nconn,
                                                     am_connect_data *conns)
 {
index 986a7d1..94d6ec7 100644 (file)
@@ -181,7 +181,7 @@ static void sink_input_block(struct userdata *u,
                 pa_fader_ramp_volume(u, sinp, oldvol);
             }
 
-            pa_sink_input_set_mute(sinp, block, FALSE);
+            pa_sink_input_set_mute(sinp, block, false);
         }
     }
     else {