init state after new file load so that resampler has correct info
This commit is contained in:
parent
3e8f7f0b99
commit
7279740b00
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user