[Bf-blender-cvs] [65f63b098a] temp-select-pick: Fix T50843: Pitched Audio renders incorrectly in VSE
Jörg Müller
noreply at git.blender.org
Tue Mar 7 16:20:13 CET 2017
Commit: 65f63b098a8d5e2fea5c22b5f3ebdd8e383f297f
Author: Jörg Müller
Date: Sun Mar 5 12:19:32 2017 +0100
Branches: temp-select-pick
https://developer.blender.org/rB65f63b098a8d5e2fea5c22b5f3ebdd8e383f297f
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)
More information about the Bf-blender-cvs
mailing list