diff options
author | Jörg Müller <nexyon@gmail.com> | 2017-03-05 14:19:32 +0300 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2017-03-05 14:19:32 +0300 |
commit | f75b52eca1a54d6aba1e26dc0fc9d94c0ee43ecf (patch) | |
tree | 339e8575d6932eb80095792f82a0f67a77e00a0a | |
parent | 4a4d71414e7f4604d5e0146cc362068dddb71be5 (diff) |
Fix T50843: Pitched Audio renders incorrectly in VSE
There was a bug in the intended code behaviour to always seek with a
pitch of 1.0 regardless of pitch/pitch animation/doppler effects.
Check the bug report for a more detailed explanation of problems
concerning pitch and seeking.
-rw-r--r-- | intern/audaspace/intern/AUD_SoftwareDevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/audaspace/intern/AUD_SoftwareDevice.cpp b/intern/audaspace/intern/AUD_SoftwareDevice.cpp index 15594d340be..f9d65aa2363 100644 --- a/intern/audaspace/intern/AUD_SoftwareDevice.cpp +++ b/intern/audaspace/intern/AUD_SoftwareDevice.cpp @@ -365,6 +365,7 @@ bool AUD_SoftwareDevice::AUD_SoftwareHandle::seek(float position) if(!m_status) return false; + m_pitch->setPitch(m_user_pitch); m_reader->seek((int)(position * m_reader->getSpecs().rate)); if(m_status == AUD_STATUS_STOPPED) |