summaryrefslogtreecommitdiffstats
path: root/media/libsoundtouch/src/SoundTouch.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-11 14:15:49 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-11 14:15:49 +0100
commit823b9a4120813274849e68443ec43249b97add3e (patch)
tree0845f6a6ce06db041530948c5cbd4c347ba12866 /media/libsoundtouch/src/SoundTouch.cpp
parent319d485e234dff3f59ac2e98ccf4c32a1aa43642 (diff)
parentcffb44547ae7997e5eaf71c644bd626eeb3bba00 (diff)
downloadUXP-823b9a4120813274849e68443ec43249b97add3e.tar
UXP-823b9a4120813274849e68443ec43249b97add3e.tar.gz
UXP-823b9a4120813274849e68443ec43249b97add3e.tar.lz
UXP-823b9a4120813274849e68443ec43249b97add3e.tar.xz
UXP-823b9a4120813274849e68443ec43249b97add3e.zip
Merge branch 'release' into Pale_Moon-release
Diffstat (limited to 'media/libsoundtouch/src/SoundTouch.cpp')
-rw-r--r--media/libsoundtouch/src/SoundTouch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libsoundtouch/src/SoundTouch.cpp b/media/libsoundtouch/src/SoundTouch.cpp
index a9d23fc3c..955818810 100644
--- a/media/libsoundtouch/src/SoundTouch.cpp
+++ b/media/libsoundtouch/src/SoundTouch.cpp
@@ -283,9 +283,9 @@ void SoundTouch::calcEffectiveRateAndTempo()
// Sets sample rate.
void SoundTouch::setSampleRate(uint srate)
{
- bSrateSet = true;
// set sample rate, leave other tempo changer parameters as they are.
pTDStretch->setParameters((int)srate);
+ bSrateSet = true;
}