Rework on audio interface

Sound instance is now called audio instance and uses funcation pointers.
This gives a clean interface to be exchanged with other technologies,
linke SDR.
This commit is contained in:
Andreas Eversberg
2017-01-04 14:14:02 +01:00
parent d54d3ac265
commit 9ff8c3bb25
29 changed files with 231 additions and 162 deletions

View File

@@ -1701,7 +1701,7 @@ static const char *ie_chan(uint64_t value)
if (value == 0)
return "No channel";
sprintf(string, "%" PRIu64 " = %.3f MHz", value, amps_channel2freq(value, 0));
sprintf(string, "%" PRIu64 " = %.3f MHz", value, amps_channel2freq(value, 0) / 1e6);
return string;
}