From 9ff8c3bb25422e100801f90c17b9c21118920cfd Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Wed, 4 Jan 2017 14:14:02 +0100 Subject: 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. --- src/amps/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amps/frame.c') diff --git a/src/amps/frame.c b/src/amps/frame.c index 6cf00bb..478739b 100644 --- a/src/amps/frame.c +++ b/src/amps/frame.c @@ -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; } -- cgit v1.2.3