switch to raw mode to avoid arecord file size limit

This commit is contained in:
Jakob Ketterl 2020-03-26 09:45:41 +01:00
parent 25755d09dd
commit 895d8019e3

View File

@ -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"]