put the socketclient on the source so it can be shared

This commit is contained in:
Jakob Ketterl
2020-12-19 16:28:18 +01:00
parent 1bd6aa73f3
commit efe80a75f5
5 changed files with 27 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ class SpectrumThread(csdr.output, SdrSourceEventClient):
self.dsp = dsp = csdr.dsp(self)
dsp.nc_port = self.sdrSource.getPort()
dsp.setSocketClient(self.sdrSource.getSocketClient())
dsp.set_demodulator("fft")
def set_fft_averages(key, value):