mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-07 00:37:05 +01:00
spectrogram: Take input source as argument
This commit is contained in:
@@ -37,7 +37,7 @@ class SpectrogramPlot : public Plot
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SpectrogramPlot();
|
||||
SpectrogramPlot(SampleSource<std::complex<float>> *src);
|
||||
~SpectrogramPlot();
|
||||
|
||||
void paintMid(QPainter &painter, QRect &rect, range_t<off_t> sampleRange);
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
int getStride();
|
||||
off_t lineToSample(off_t line);
|
||||
|
||||
InputSource *inputSource = nullptr;
|
||||
SampleSource<std::complex<float>> *inputSource = nullptr;
|
||||
|
||||
signals:
|
||||
void cursorFrequencyChanged(QString);
|
||||
|
||||
Reference in New Issue
Block a user