summaryrefslogtreecommitdiffstats
path: root/media/libsoundtouch/src/SoundTouch.cpp
diff options
context:
space:
mode:
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;
}