more localized imports
This commit is contained in:
parent
95b4510c3a
commit
f2a97415b9
@ -36,8 +36,6 @@ from csdr.pipe import Pipe
|
|||||||
from pycsdr.modules import Buffer
|
from pycsdr.modules import Buffer
|
||||||
from pycsdr.types import Format
|
from pycsdr.types import Format
|
||||||
from csdr.chain.selector import Selector
|
from csdr.chain.selector import Selector
|
||||||
from csdr.chain.analog import Am, NFm, WFm, Ssb
|
|
||||||
from csdr.chain.digiham import Dstar, Nxdn, Dmr, Ysf
|
|
||||||
from csdr.chain.clientaudio import ClientAudioChain
|
from csdr.chain.clientaudio import ClientAudioChain
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
@ -2,8 +2,6 @@ import threading
|
|||||||
from owrx.source import SdrSourceEventClient, SdrSourceState, SdrClientClass
|
from owrx.source import SdrSourceEventClient, SdrSourceState, SdrClientClass
|
||||||
from owrx.sdr import SdrService
|
from owrx.sdr import SdrService
|
||||||
from owrx.bands import Bandplan
|
from owrx.bands import Bandplan
|
||||||
from owrx.wsjt import WsjtParser
|
|
||||||
from owrx.js8 import Js8Parser
|
|
||||||
from owrx.config import Config
|
from owrx.config import Config
|
||||||
from owrx.source.resampler import Resampler
|
from owrx.source.resampler import Resampler
|
||||||
from owrx.property import PropertyLayer, PropertyDeleted
|
from owrx.property import PropertyLayer, PropertyDeleted
|
||||||
@ -285,9 +283,11 @@ class ServiceHandler(SdrSourceEventClient):
|
|||||||
# TODO add remaining modes
|
# TODO add remaining modes
|
||||||
if mod in ["ft8", "wspr", "jt65", "jt9", "ft4", "fst4", "fst4w", "q65"]:
|
if mod in ["ft8", "wspr", "jt65", "jt9", "ft4", "fst4", "fst4w", "q65"]:
|
||||||
from csdr.chain.digimodes import AudioChopperDemodulator
|
from csdr.chain.digimodes import AudioChopperDemodulator
|
||||||
|
from owrx.wsjt import WsjtParser
|
||||||
return AudioChopperDemodulator(mod, WsjtParser())
|
return AudioChopperDemodulator(mod, WsjtParser())
|
||||||
elif mod == "js8":
|
elif mod == "js8":
|
||||||
from csdr.chain.digimodes import AudioChopperDemodulator
|
from csdr.chain.digimodes import AudioChopperDemodulator
|
||||||
|
from owrx.js8 import Js8Parser
|
||||||
return AudioChopperDemodulator(mod, Js8Parser())
|
return AudioChopperDemodulator(mod, Js8Parser())
|
||||||
elif mod == "packet":
|
elif mod == "packet":
|
||||||
from csdr.chain.digimodes import PacketDemodulator
|
from csdr.chain.digimodes import PacketDemodulator
|
||||||
|
Loading…
Reference in New Issue
Block a user