diff --git a/Source/PS_Source/Stretch.cpp b/Source/PS_Source/Stretch.cpp index 726c37d..e73f7e9 100644 --- a/Source/PS_Source/Stretch.cpp +++ b/Source/PS_Source/Stretch.cpp @@ -28,11 +28,14 @@ FFT::FFT(int nsamples_, bool no_inverse) printf("WARNING: Odd sample size on FFT::FFT() (%d)",nsamples); }; smp.resize(nsamples); - for (int i = 0; i < nsamples; i++) smp[i] = 0.0; + for (int i = 0; i < nsamples; i++) + smp[i] = 0.0; freq.resize(nsamples/2+1); - for (int i=0;idrawChannels(g, { 0,m_topmargin,getWidth(),getHeight() - m_topmargin }, thumblen*m_view_range.getStart(), thumblen*m_view_range.getEnd(), 1.0f); } - //g.setColour(Colours::darkgrey); - //m_thumb->drawChannels(g, { 0,m_topmargin,getWidth(),getHeight()-m_topmargin }, - // 0.0, thumblen, 1.0f); g.setColour(Colours::white.withAlpha(0.5f)); double sel_len = m_time_sel_end - m_time_sel_start; //if (sel_len > 0.0 && sel_len < 1.0) @@ -530,7 +525,6 @@ void WaveformComponent::timerCallback() void WaveformComponent::setFileCachedRange(std::pair, Range> rng) { m_file_cached = rng; - //repaint(); } void WaveformComponent::setTimerEnabled(bool b)