fix the resampler
This commit is contained in:
parent
70347d1ef9
commit
9aa6f72152
@ -1,5 +1,4 @@
|
|||||||
import threading
|
import threading
|
||||||
from owrx.socket import getAvailablePort
|
|
||||||
from datetime import datetime, timezone, timedelta
|
from datetime import datetime, timezone, timedelta
|
||||||
from owrx.source import SdrSource
|
from owrx.source import SdrSource
|
||||||
from owrx.sdr import SdrService
|
from owrx.sdr import SdrService
|
||||||
@ -290,7 +289,7 @@ class ServiceHandler(object):
|
|||||||
resampler_props["center_freq"] = cf
|
resampler_props["center_freq"] = cf
|
||||||
# TODO the + 24000 is a temporary fix since the resampling optimizer does not account for required bandwidths
|
# TODO the + 24000 is a temporary fix since the resampling optimizer does not account for required bandwidths
|
||||||
resampler_props["samp_rate"] = bw + 24000
|
resampler_props["samp_rate"] = bw + 24000
|
||||||
resampler = Resampler(resampler_props, getAvailablePort(), self.source)
|
resampler = Resampler(resampler_props, self.source)
|
||||||
resampler.start()
|
resampler.start()
|
||||||
|
|
||||||
for dial in group:
|
for dial in group:
|
||||||
|
Loading…
Reference in New Issue
Block a user