1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-08 00:44: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 b8f566b8a1
commit d399e2fdc8
5 changed files with 32 additions and 42 deletions
-12
View File
@@ -69,18 +69,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,