use new csdr++ converter

This commit is contained in:
Jakob Ketterl
2021-06-30 14:22:26 +02:00
parent 666c286485
commit b3cdc568d9
2 changed files with 10 additions and 10 deletions

View File

@ -21,7 +21,7 @@ class FifiSdrSource(DirectSource):
return super().getEventNames() + ["device"]
def getFormatConversion(self):
return ["csdr convert_s16_f", "csdr gain_ff 5"]
return ["csdr++ convert -i s16 -o float", "csdr gain_ff 5"]
def sendRockProgFrequency(self, frequency):
process = Popen(["rockprog", "--vco", "-w", "--freq={}".format(frequency / 1e6)])