diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2016-04-24 07:09:25 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-04-24 15:18:59 +0200 |
commit | 4b3e3385b5d7e4017e699a6fe399db2bcae064cf (patch) | |
tree | ac068acb2a92d160aa5a65c5c800579122949b0a /src/common/samplerate.h | |
parent | 4356c93afa77734ce880651a2b0333378267e165 (diff) |
common code: Fix sample rate conversion
Diffstat (limited to 'src/common/samplerate.h')
-rw-r--r-- | src/common/samplerate.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/samplerate.h b/src/common/samplerate.h index db9bd8d..66e4912 100644 --- a/src/common/samplerate.h +++ b/src/common/samplerate.h @@ -3,13 +3,12 @@ typedef struct samplerate { double factor; struct { - double sum; - double sum_count; biquad_low_pass_t bq; + double in_index; } down; struct { - double last_sample; biquad_low_pass_t bq; + double in_index; } up; } samplerate_t; |