If capture buffer used, refresh waveform when GUI has been closed and reopened.

This commit is contained in:
xenakios
2017-12-13 05:18:39 +02:00
parent f872a13257
commit e411a99f70
5 changed files with 25 additions and 2 deletions

View File

@ -44,6 +44,13 @@ void StretchAudioSource::releaseResources()
}
AudioBuffer<float>* StretchAudioSource::getSourceAudioBuffer()
{
if (m_inputfile==nullptr)
return nullptr;
return m_inputfile->getAudioBuffer();
}
bool StretchAudioSource::isResampling()
{
if (m_inputfile==nullptr || m_inputfile->info.samplerate==0)