pass downmix parameter

This commit is contained in:
Jakob Ketterl 2024-01-22 01:14:05 +01:00
parent 97ace65537
commit 625afcfbbb
2 changed files with 9 additions and 5 deletions

View file

@ -6,7 +6,11 @@ from csdr.module.drm import DrmModule
class Drm(BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain):
def __init__(self):
workers = [Convert(Format.COMPLEX_FLOAT, Format.COMPLEX_SHORT), DrmModule(), Downmix()]
workers = [
Convert(Format.COMPLEX_FLOAT, Format.COMPLEX_SHORT),
DrmModule(),
Downmix(Format.SHORT),
]
super().__init__(workers)
def supportsSquelch(self) -> bool: