Commit: f75b52eca1a54d6aba1e26dc0fc9d94c0ee43ecf
Author: Jörg Müller
Date:   Sun Mar 5 12:19:32 2017 +0100
Branches: master
https://developer.blender.org/rBf75b52eca1a54d6aba1e26dc0fc9d94c0ee43ecf

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.

===================================================================

M       intern/audaspace/intern/AUD_SoftwareDevice.cpp

===================================================================

diff --git a/intern/audaspace/intern/AUD_SoftwareDevice.cpp 
b/intern/audaspace/intern/AUD_SoftwareDevice.cpp
index 15594d340b..f9d65aa236 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)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to