work on some todos

This commit is contained in:
Jakob Ketterl
2021-09-27 17:29:51 +02:00
parent 5b1000df87
commit edace3d451
3 changed files with 94 additions and 45 deletions

View File

@@ -47,11 +47,12 @@ class SpectrumThread(SdrSourceEventClient):
self.sdrSource.addClient(self)
self.subscriptions += [
self.props.filter("fft_size", "fft_compression").wire(self.restart),
self.props.filter("fft_size").wire(self.restart),
# these props can be set on the fly
self.props.wireProperty("samp_rate", self.dsp.setSampleRate),
self.props.wireProperty("fft_fps", self.dsp.setFps),
self.props.wireProperty("fft_voverlap_factor", self.dsp.setVOverlapFactor),
self.props.wireProperty("fft_compression", self.dsp.setCompression),
]
buffer = Buffer(self.dsp.getOutputFormat())