diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2017-01-29 07:25:12 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2017-02-18 21:01:13 +0100 |
commit | 7e45f556cec493c3c77fcb6400d8ae211faf2220 (patch) | |
tree | cb5903509228c36e7dcd52ae0a049b380e81f401 /src/common/samplerate.c | |
parent | bd7ccc5fa05587606757adbacb6e1bf12f12fd2c (diff) |
Correcting all levels and move all remaining integer samples to sample_t
The leves are based on the standards of each mobile network. They
are adjusted to the specified frequency deviation now.
Diffstat (limited to 'src/common/samplerate.c')
-rw-r--r-- | src/common/samplerate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/samplerate.c b/src/common/samplerate.c index 18e039e..66b763f 100644 --- a/src/common/samplerate.c +++ b/src/common/samplerate.c @@ -124,7 +124,7 @@ int samplerate_upsample(samplerate_t *state, sample_t *input, int input_num, sam if (input == output) { /* copy samples */ - for (i = 0; i < input_num; i++) + for (i = 0; i < output_num; i++) *output++ = samples[i]; } |