mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-03 06:54:17 +01:00
@@ -46,6 +46,14 @@ SpectrogramPlot::SpectrogramPlot(std::shared_ptr<SampleSource<std::complex<float
|
||||
tunerTransform = std::make_shared<TunerTransform>(src.get());
|
||||
connect(&tuner, &Tuner::tunerMoved, this, &SpectrogramPlot::tunerMoved);
|
||||
tunerMoved();
|
||||
src->subscribe(this);
|
||||
}
|
||||
|
||||
void SpectrogramPlot::invalidateEvent()
|
||||
{
|
||||
pixmapCache.clear();
|
||||
fftCache.clear();
|
||||
emit repaint();
|
||||
}
|
||||
|
||||
void SpectrogramPlot::paintFront(QPainter &painter, QRect &rect, range_t<off_t> sampleRange)
|
||||
|
||||
Reference in New Issue
Block a user