]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/ratelimit.h
remap: Change remapping function argument type from void to int16_t / float as approp...
[pulseaudio] / src / pulsecore / ratelimit.h
index 9857a291bf2600853a54820be2d8fd58dc280004..036646230ffcf3c001afd9815c6863edf2d61538 100644 (file)
@@ -23,6 +23,7 @@
 ***/
 
 #include <pulse/sample.h>
+#include <pulsecore/log.h>
 #include <pulsecore/macro.h>
 
 typedef struct pa_ratelimit {
@@ -49,8 +50,8 @@ typedef struct pa_ratelimit {
         r->n_printed = 0;                               \
         r->n_missed = 0;                                \
         r->begin = 0;                                   \
-    } while (FALSE);
+    } while (false);
 
-pa_bool_t pa_ratelimit_test(pa_ratelimit *r);
+bool pa_ratelimit_test(pa_ratelimit *r, pa_log_level_t t);
 
 #endif