From 895d8019e37360ab22b72c93ab7982580b9810b4 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 26 Mar 2020 09:45:41 +0100 Subject: [PATCH] switch to raw mode to avoid arecord file size limit --- owrx/source/fifi_sdr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/source/fifi_sdr.py b/owrx/source/fifi_sdr.py index f591b52..fa97d89 100644 --- a/owrx/source/fifi_sdr.py +++ b/owrx/source/fifi_sdr.py @@ -11,7 +11,7 @@ class FifiSdrSource(DirectSource): def getCommandMapper(self): return super().getCommandMapper().setBase("arecord").setMappings( {"device": Option("-D"), "samp_rate": Option("-r")} - ).setStatic("-f S16_LE -c2 -") + ).setStatic("-t raw -f S16_LE -c2 -") def getEventNames(self): return super().getEventNames() + ["device"]