When changing audio file, set the first buffer flag to flush the existing stretched audio faster
This commit is contained in:
parent
44114a7f2c
commit
8a4aee93ec
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user