init state after new file load so that resampler has correct info

This commit is contained in:
essej 2022-06-15 13:34:33 -04:00
parent 3e8f7f0b99
commit 7279740b00

View File

@ -526,6 +526,7 @@ String StretchAudioSource::setAudioFile(const URL & url)
m_curfile = url; m_curfile = url;
m_firstbuffer = true; m_firstbuffer = true;
m_audiobuffer_is_source = false; m_audiobuffer_is_source = false;
initObjects();
return String(); return String();
} }
return "Could not open file"; return "Could not open file";