From 0e997e1d438656c4a9f17d31f1be1b165c3e74cb Mon Sep 17 00:00:00 2001 From: xenakios Date: Thu, 1 Feb 2018 13:17:15 +0200 Subject: [PATCH] Avoid showing nonsense play position value --- Source/PluginProcessor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 1f26626..1415933 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -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)