mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-16 19:34:38 +00:00
AudioStream: Fix crash with timestretch disabled
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user