~ubuntu-branches/ubuntu/lucid/jack-audio-connection-kit/lucid

« back to all changes in this revision

Viewing changes to tools/time_smoother.h

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna
  • Date: 2008-12-06 11:05:15 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20081206110515-xa9v9pajr9jqvfvg
Tags: 0.115.6-1ubuntu1
* Merge from Debian unstable, remaining Ubuntu changes:
  - Redirect stderr in bash completion (Debian #504488).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#include "jack/jack.h" 
 
3
 
 
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;
 
10
 
 
11
 
 
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 );