correctly shutdown resampler

This commit is contained in:
Jakob Ketterl 2021-09-02 10:53:05 +02:00
parent f9df35ffd4
commit efa7faaa2a

View File

@ -35,6 +35,11 @@ class Resampler(SdrSource):
self.chain.setWriter(self.buffer) self.chain.setWriter(self.buffer)
return self.buffer return self.buffer
def stop(self):
self.chain.stop()
self.chain = None
super().stop()
def activateProfile(self, profile_id=None): def activateProfile(self, profile_id=None):
logger.warning("Resampler does not support setting profiles") logger.warning("Resampler does not support setting profiles")
pass pass