]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/time-smoother.h
remap: Change remapping function argument type from void to int16_t / float as approp...
[pulseaudio] / src / pulsecore / time-smoother.h
index 5244a7e7a33ab102d6b497a49327ed3c9ae2e8be..3cb56612fe974a2d681af6146ee93e318f648737 100644 (file)
@@ -30,11 +30,11 @@ typedef struct pa_smoother pa_smoother;
 pa_smoother* pa_smoother_new(
         pa_usec_t x_adjust_time,
         pa_usec_t x_history_time,
-        pa_bool_t monotonic,
-        pa_bool_t smoothing,
+        bool monotonic,
+        bool smoothing,
         unsigned min_history,
         pa_usec_t x_offset,
-        pa_bool_t paused);
+        bool paused);
 
 void pa_smoother_free(pa_smoother* s);
 
@@ -50,9 +50,9 @@ pa_usec_t pa_smoother_translate(pa_smoother *s, pa_usec_t x, pa_usec_t y_delay);
 void pa_smoother_set_time_offset(pa_smoother *s, pa_usec_t x_offset);
 
 void pa_smoother_pause(pa_smoother *s, pa_usec_t x);
-void pa_smoother_resume(pa_smoother *s, pa_usec_t x, pa_bool_t abrupt);
+void pa_smoother_resume(pa_smoother *s, pa_usec_t x, bool abrupt);
 
-void pa_smoother_reset(pa_smoother *s);
+void pa_smoother_reset(pa_smoother *s, pa_usec_t time_offset, bool paused);
 
 void pa_smoother_fix_now(pa_smoother *s);