fix building when PATH_MAX is not defined. (should fix debian bug 320736)
[jack.git] / tools / time_smoother.h
blobdf62029d038b971ea1af729c937ad4a2bec337e2
2 #include "jack/jack.h"
4 typedef struct time_smoother {
5 int history_size;
6 jack_nframes_t *x;
7 jack_nframes_t *y;
8 int num_valid;
9 } time_smoother;
12 time_smoother *time_smoother_new( int history_size );
13 void time_smoother_free( time_smoother *ts );
14 void time_smoother_put ( time_smoother *ts, jack_nframes_t x, jack_nframes_t y );
15 void time_smoother_get_linear_params( time_smoother *ts, jack_nframes_t now_x, jack_nframes_t now_y,
16 jack_nframes_t history, double *a, double *b );