Avoid showing nonsense play position value

This commit is contained in:
xenakios 2018-02-01 13:17:15 +02:00
parent d119439f76
commit 0e997e1d43

View File

@ -507,6 +507,8 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M
{
phead->getCurrentPosition(m_playposinfo);
}
else
m_playposinfo.isPlaying = false;
ScopedNoDenormals noDenormals;
double srtemp = getSampleRate();
if (srtemp != m_cur_sr)