mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-05 16:04:20 +01:00
Add docked controls + hook up slider for FFT size
This commit is contained in:
@@ -49,4 +49,11 @@ void Spectrogram::paintEvent(QPaintEvent *event)
|
||||
}
|
||||
|
||||
qDebug() << "Paint: " << timer.elapsed() << "ms";
|
||||
}
|
||||
|
||||
void Spectrogram::setFFTSize(int size)
|
||||
{
|
||||
inputSource->setFFTSize(size);
|
||||
update();
|
||||
resize(inputSource->GetWidth(), inputSource->GetHeight());
|
||||
}
|
||||
Reference in New Issue
Block a user