introduce new pipe classes to improve sequencing

This commit is contained in:
Jakob Ketterl
2020-02-28 00:20:37 +01:00
parent 0e47f2d92a
commit 9cc850e578
2 changed files with 106 additions and 63 deletions

View File

@ -66,10 +66,6 @@ class SpectrumThread(csdr.output):
return t == "audio"
def receive_output(self, type, read_fn):
if self.props["csdr_dynamic_bufsize"]:
read_fn(8) # dummy read to skip bufsize & preamble
logger.debug("Note: CSDR_DYNAMIC_BUFSIZE_ON = 1")
threading.Thread(target=self.pump(read_fn, self.sdrSource.writeSpectrumData)).start()
def stop(self):