When changing audio file, set the first buffer flag to flush the existing stretched audio faster

This commit is contained in:
xenakios 2018-05-09 12:17:28 +03:00
parent 44114a7f2c
commit 8a4aee93ec

View File

@ -472,6 +472,7 @@ String StretchAudioSource::setAudioFile(File file)
if (m_inputfile->openAudioFile(file)) if (m_inputfile->openAudioFile(file))
{ {
m_curfile = file; m_curfile = file;
m_firstbuffer = true;
return String(); return String();
} }
return "Could not open file"; return "Could not open file";