From 7ea3bc188df54a4dbe3026bc30ed39a5cded8fdb Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 27 Jan 2017 16:57:34 +0100 Subject: Move samples of int16_t format to sample_t, that is of type double This prepares the correction of all levels --- src/common/jitter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common/jitter.h') diff --git a/src/common/jitter.h b/src/common/jitter.h index 6d8d432..658da19 100644 --- a/src/common/jitter.h +++ b/src/common/jitter.h @@ -1,13 +1,13 @@ typedef struct jitter { - int16_t *spl; /* pointer to sample buffer */ + sample_t *spl; /* pointer to sample buffer */ int len; /* buffer size: number of samples */ int inptr, outptr; /* write pointer and read pointer */ } jitter_t; int jitter_create(jitter_t *jitter, int length); void jitter_destroy(jitter_t *jitter); -void jitter_save(jitter_t *jb, int16_t *samples, int length); -void jitter_load(jitter_t *jb, int16_t *samples, int length); +void jitter_save(jitter_t *jb, sample_t *samples, int length); +void jitter_load(jitter_t *jb, sample_t *samples, int length); void jitter_clear(jitter_t *jb); -- cgit v1.2.3