From 7279740b009b3624ab150de2025958ea1a4cc569 Mon Sep 17 00:00:00 2001 From: essej Date: Wed, 15 Jun 2022 13:34:33 -0400 Subject: [PATCH] init state after new file load so that resampler has correct info --- Source/PS_Source/StretchSource.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/PS_Source/StretchSource.cpp b/Source/PS_Source/StretchSource.cpp index d700886..33403f7 100644 --- a/Source/PS_Source/StretchSource.cpp +++ b/Source/PS_Source/StretchSource.cpp @@ -526,6 +526,7 @@ String StretchAudioSource::setAudioFile(const URL & url) m_curfile = url; m_firstbuffer = true; m_audiobuffer_is_source = false; + initObjects(); return String(); } return "Could not open file";