mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-02-27 10:04:20 +01:00
DAB: use mono output in ffmpeg resample (-ac 1) to reduce CPU/load
This commit is contained in:
parent
bf14836415
commit
22be3f3c97
|
|
@ -12,7 +12,7 @@ class DablinModule(ExecModule):
|
|||
)
|
||||
|
||||
def _buildArgs(self):
|
||||
return ["bash", "-c", "dablin -u -s {:#06x} | ffmpeg -v error -i pipe:0 -f f32le -ar 48000 -ac 2 pipe:1".format(self.serviceId)]
|
||||
return ["bash", "-c", "dablin -u -s {:#06x} | ffmpeg -v error -i pipe:0 -f f32le -ar 48000 -ac 1 pipe:1".format(self.serviceId)]
|
||||
|
||||
def setDabServiceId(self, serviceId: int) -> None:
|
||||
self.serviceId = serviceId
|
||||
|
|
|
|||
Loading…
Reference in a new issue