forked from bartvdbraak/blender
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.
This commit is contained in:
parent
4a4d71414e
commit
f75b52eca1
@ -365,6 +365,7 @@ bool AUD_SoftwareDevice::AUD_SoftwareHandle::seek(float position)
|
|||||||
if(!m_status)
|
if(!m_status)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
m_pitch->setPitch(m_user_pitch);
|
||||||
m_reader->seek((int)(position * m_reader->getSpecs().rate));
|
m_reader->seek((int)(position * m_reader->getSpecs().rate));
|
||||||
|
|
||||||
if(m_status == AUD_STATUS_STOPPED)
|
if(m_status == AUD_STATUS_STOPPED)
|
||||||
|
Loading…
Reference in New Issue
Block a user