add missing parser integration
This commit is contained in:
parent
182a8af57f
commit
1a257064f7
@ -2,6 +2,7 @@ import subprocess
|
|||||||
from owrx.config import PropertyManager
|
from owrx.config import PropertyManager
|
||||||
from owrx.feature import FeatureDetector, UnknownFeatureException
|
from owrx.feature import FeatureDetector, UnknownFeatureException
|
||||||
from owrx.meta import MetaParser
|
from owrx.meta import MetaParser
|
||||||
|
from owrx.wsjt import WsjtParser
|
||||||
import threading
|
import threading
|
||||||
import csdr
|
import csdr
|
||||||
import time
|
import time
|
||||||
@ -346,6 +347,7 @@ class DspManager(csdr.output):
|
|||||||
self.handler = handler
|
self.handler = handler
|
||||||
self.sdrSource = sdrSource
|
self.sdrSource = sdrSource
|
||||||
self.metaParser = MetaParser(self.handler)
|
self.metaParser = MetaParser(self.handler)
|
||||||
|
self.wsjtParser = WsjtParser(self.handler)
|
||||||
|
|
||||||
self.localProps = self.sdrSource.getProps().collect(
|
self.localProps = self.sdrSource.getProps().collect(
|
||||||
"audio_compression", "fft_compression", "digimodes_fft_size", "csdr_dynamic_bufsize",
|
"audio_compression", "fft_compression", "digimodes_fft_size", "csdr_dynamic_bufsize",
|
||||||
@ -417,7 +419,8 @@ class DspManager(csdr.output):
|
|||||||
"smeter": self.handler.write_s_meter_level,
|
"smeter": self.handler.write_s_meter_level,
|
||||||
"secondary_fft": self.handler.write_secondary_fft,
|
"secondary_fft": self.handler.write_secondary_fft,
|
||||||
"secondary_demod": self.handler.write_secondary_demod,
|
"secondary_demod": self.handler.write_secondary_demod,
|
||||||
"meta": self.metaParser.parse
|
"meta": self.metaParser.parse,
|
||||||
|
"wsjt_demod": self.wsjtParser.parse
|
||||||
}
|
}
|
||||||
write = writers[t]
|
write = writers[t]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user