1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-09-20 08:21:37 +02:00
Commit Graph

26 Commits

Author SHA1 Message Date
Olli
6533514372 Improve soundtouch.clear() so that it really clears TDStretch & RateTransposer states
Improve soundtouch.clear() so that it really clears all TDStretch &
RateTransposer state variables. Before this clear() left last processed
sample or fractional position state uncleared, which caused slightly
different result if same stream was processed again after clear().
2021-01-30 19:02:08 +02:00
Olli
f38cfa6850 Call "clear()" after changing anti-alias filter on/off
Call "clear()" after changing anti-alias filter on/off to prefill
buffers appropriately.
2021-01-28 20:19:06 +02:00
Olli Parviainen
f382149086 Compensate initial buffering of anti-alias filter and intepolator.
This avoids losing first few dozen of samples from beginning of the stream.

Signed-off-by: Olli Parviainen <oparviai at iki.fi>
2020-06-30 14:16:03 +03:00
oparviainen
c38f0506da Removed commented code, style cleanup 2018-08-12 20:51:24 +03:00
oparviainen
cca9271e98 Merge branch 'master' of https://gitlab.com/soundtouch/soundtouch 2018-08-12 20:25:12 +03:00
oparviainen
107f2c5d20 Replaced illegal-number-of-channel assertions with run-time exception 2018-08-12 20:00:56 +03:00
luz.paz
0093b63141 MIsc. source comment typos
Found via `codespell -q 3`
2018-07-27 12:26:56 -04:00
Olli
e765f8146f Removed Subversion $Id$, $Date$ etc autoupdate tags 2018-05-10 21:51:49 +03:00
oparviai
80281c8e1b Disable anti-alias filter if SOUNDTOUCH_PREVENT_CLICK_AT_RATE_CROSSOVER is defined 2017-09-07 17:04:02 +00:00
oparviai
753848865d Added function to get duration ratio between the original input and processed output tracks. 2016-10-15 19:34:59 +00:00
oparviai
ac03757ec8 Added functions to get initial processing latency, and clarified reporting input/output batch sizes 2016-10-15 18:55:12 +00:00
oparviai
c9507ff7f1 - Improved SoundTouch::flush() so that it produces exactly accurate number of output samples.
- Changed 'float' variables into 'double' for more precise calculation of input-vs-output samples.
2015-07-26 14:45:48 +00:00
oparviai
e23bd6d093 Replaced custom 'BOOL' type with C++ 'bool' 2014-04-06 15:57:21 +00:00
oparviai
a61c28e36a Increased Antialias filter length from 32 to 64 2014-01-06 19:19:38 +00:00
oparviai
a09135884a Implemented separate Cubic, Linear and Shannon interpolation algorithms. 2014-01-06 18:40:23 +00:00
oparviai
abfeb3fcc9 Restructured RateTransposer to allow hosting alternative resampling algorithms. 2014-01-05 21:40:22 +00:00
oparviai
510ac08657 Bugfix in RateTransposerFloat::transposeMono 2014-01-05 15:57:10 +00:00
oparviai
55aa6f15e9 Bugfix and cleanups 2013-06-14 17:34:33 +00:00
oparviai
8c65661b91 Added support for multi-channel audio 2013-06-12 15:24:44 +00:00
oparviai
ad164d96db Added a compile-time switch to disable throwing c++ exceptions 2011-09-02 18:56:11 +00:00
oparviai
d002b52f2a use more specifically named global #defines 2011-02-13 19:13:57 +00:00
oparviai
df36315991 Bugfix: Added a check against zero processing samples into rate transposing routines 2009-10-31 14:37:24 +00:00
oparviai
c17eb6821a Cleaned code with Lint 2009-02-21 16:00:14 +00:00
oparviai
40efe9cbef Repaired 'const' keyword usage 2009-01-11 11:34:24 +00:00
oparviai
e69813f645 Activated SVN keyword expansion 2008-02-10 16:26:55 +00:00
oparviai
2b64de964c Initial commit as per SoundTouch v1.3.1 2008-02-10 16:24:28 +00:00