aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps/frame.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-01-04 14:14:02 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-02-18 21:00:45 +0100
commit9ff8c3bb25422e100801f90c17b9c21118920cfd (patch)
tree5715f3cc08893ed86dfc2514c93797d12e24d461 /src/amps/frame.c
parentd54d3ac2654844c7b8e4ee67752941c9037d5f42 (diff)
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.
Diffstat (limited to 'src/amps/frame.c')
-rw-r--r--src/amps/frame.c2
1 files changed, 1 insertions, 1 deletions
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;
}