switch to audio stream (instead of IQ)

This commit is contained in:
Jakob Ketterl 2023-09-21 16:01:10 +02:00
parent f1097e8f64
commit 4bce1024ba
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,4 @@
from pycsdr.modules import AmDemod
from owrx.acars.acarsdec import AcarsDecModule
from csdr.chain.demodulator import ServiceDemodulator
from csdr.module import JsonParser
@ -6,6 +7,7 @@ from csdr.module import JsonParser
class AcarsDec(ServiceDemodulator):
def __init__(self):
super().__init__([
AmDemod(),
AcarsDecModule(),
JsonParser("ACARS"),
])

View file

@ -5,7 +5,7 @@ from pycsdr.types import Format
class AcarsDecModule(ExecModule):
def __init__(self):
super().__init__(
Format.COMPLEX_FLOAT,
Format.FLOAT,
Format.CHAR,
["acarsdec", "-s", "-o", "4"]
)