restart on fft_compression changes, too

This commit is contained in:
Jakob Ketterl 2021-02-27 00:29:04 +01:00
parent baef88bd94
commit 7dcafab2c1
1 changed files with 3 additions and 0 deletions

View File

@ -509,7 +509,10 @@ class dsp(object):
return int(base)
def set_fft_compression(self, what):
if self.fft_compression == what:
return
self.fft_compression = what
self.restart()
def get_fft_bytes_to_read(self):
if self.fft_compression == "none":