mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-02 22:44:18 +01:00
plot: Add sample output interface
This commit is contained in:
@@ -29,9 +29,8 @@
|
||||
#include "util.h"
|
||||
|
||||
|
||||
SpectrogramPlot::SpectrogramPlot(SampleSource<std::complex<float>> *src)
|
||||
SpectrogramPlot::SpectrogramPlot(std::shared_ptr<SampleSource<std::complex<float>>> src) : Plot(src), inputSource(src)
|
||||
{
|
||||
inputSource = src;
|
||||
sampleRate = 8000000;
|
||||
setFFTSize(512);
|
||||
zoomLevel = 0;
|
||||
|
||||
Reference in New Issue
Block a user