1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

Websocket spectrum: implemented start/stop server from spectrum GUI

This commit is contained in:
f4exb
2020-05-02 00:35:47 +02:00
parent 3730cbf865
commit 13ace213a7
5 changed files with 32 additions and 42 deletions
-12
View File
@@ -72,18 +72,6 @@ SpectrumVis::~SpectrumVis()
fftFactory->releaseEngine(m_settings.m_fftSize, false, m_fftEngineSequence);
}
void SpectrumVis::openWSSpectrum()
{
MsgConfigureWSpectrumOpenClose *cmd = new MsgConfigureWSpectrumOpenClose(true);
getInputMessageQueue()->push(cmd);
}
void SpectrumVis::closeWSSpectrum()
{
MsgConfigureWSpectrumOpenClose *cmd = new MsgConfigureWSpectrumOpenClose(false);
getInputMessageQueue()->push(cmd);
}
void SpectrumVis::configure(
int fftSize,
float refLevel,