correctly shutdown resampler
This commit is contained in:
parent
f9df35ffd4
commit
efa7faaa2a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user