AudioStream: Fix crash with timestretch disabled

pull/3508/head v0.1-9483
Stenzek 2 months ago
parent 0a53bc47c3
commit 09a3c99c3b
No known key found for this signature in database

@ -900,6 +900,9 @@ void AudioStream::StretchOverrun()
void AudioStream::EmptyStretchBuffers()
{
if (!IsStretchEnabled())
return;
m_stretch_reset = STRETCH_RESET_THRESHOLD;
// Wipe soundtouch samples. If we don't do this and we're switching from a high tempo to low,

Loading…
Cancel
Save