summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2013-11-08 18:52:44 +0100
committerMatthias P. Braendli (think) <matthias@mpb.li>2013-11-08 18:52:44 +0100
commitf0fbd5f88e5dbe6b0168082eed103aa003b1221a (patch)
treefe466803adcc5f21f9cfdacd2bcb0e4b470ed4d7 /src
parentbe3f020bce7a85df7aa42a622e87018fea325c6c (diff)
downloaddabmod-f0fbd5f88e5dbe6b0168082eed103aa003b1221a.tar.gz
dabmod-f0fbd5f88e5dbe6b0168082eed103aa003b1221a.tar.bz2
dabmod-f0fbd5f88e5dbe6b0168082eed103aa003b1221a.zip
dabmod cosmetics
Diffstat (limited to 'src')
-rw-r--r--src/DabMod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index a5546a2..c15f7e4 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -520,9 +520,9 @@ int main(int argc, char* argv[])
fprintf(stderr, " Sampling rate: ");
if (outputRate > 1000) {
if (outputRate > 1000000) {
- fprintf(stderr, "%.3g MHz\n", outputRate / 1000000.0f);
+ fprintf(stderr, "%.4g MHz\n", outputRate / 1000000.0f);
} else {
- fprintf(stderr, "%.3g kHz\n", outputRate / 1000.0f);
+ fprintf(stderr, "%.4g kHz\n", outputRate / 1000.0f);
}
} else {
fprintf(stderr, "%zu Hz\n", outputRate);