diff --git a/plugins/channelrx/demodam/amdemod.cpp b/plugins/channelrx/demodam/amdemod.cpp index a52f059fd..0cbced721 100644 --- a/plugins/channelrx/demodam/amdemod.cpp +++ b/plugins/channelrx/demodam/amdemod.cpp @@ -79,9 +79,6 @@ void AMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector if (m_interpolator.decimate(&m_interpolatorDistanceRemain, c, &ci)) { - //m_sampleBuffer.push_back(Sample(ci.real() * 32767.0, ci.imag() * 32767.0)); - m_sampleBuffer.push_back(Sample(ci.real(), ci.imag())); - Real magsq = ci.real() * ci.real() + ci.imag() * ci.imag(); magsq /= (1<<30); m_movingAverage.feed(magsq); @@ -165,8 +162,6 @@ void AMDemod::feed(const SampleVector::const_iterator& begin, const SampleVector m_audioBufferFill = 0; } - m_sampleBuffer.clear(); - m_settingsMutex.unlock(); } diff --git a/plugins/channelrx/demodam/amdemod.h b/plugins/channelrx/demodam/amdemod.h index 6f9558fd8..ccc2cfc35 100644 --- a/plugins/channelrx/demodam/amdemod.h +++ b/plugins/channelrx/demodam/amdemod.h @@ -131,7 +131,6 @@ private: uint m_audioBufferFill; AudioFifo m_audioFifo; - SampleVector m_sampleBuffer; QMutex m_settingsMutex; void apply(); diff --git a/plugins/samplesink/filesink/filesinkgui.cpp b/plugins/samplesink/filesink/filesinkgui.cpp index 811cbb46a..5b5658229 100644 --- a/plugins/samplesink/filesink/filesinkgui.cpp +++ b/plugins/samplesink/filesink/filesinkgui.cpp @@ -311,8 +311,6 @@ void FileSinkGui::updateWithStreamTime() t_sec = m_samplesCount / m_settings.m_sampleRate; } - qDebug("FileSinkGui::updateWithStreamTime: m_samplesCount: %d", m_samplesCount); - QTime t(0, 0, 0, 0); t = t.addSecs(t_sec); t = t.addMSecs(t_msec);