diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-03 18:03:17 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-03 18:03:17 +0100 |
commit | 618c88a6e3c594b8382b4c61710a968c6adcdf49 (patch) | |
tree | 314e99e56cc0715fdcbeed2189fc6056a5c6e4d0 /src/etisnoop.cpp | |
parent | 4e196f337303304cc9cb15b5d7d345646486e68f (diff) | |
download | etisnoop-618c88a6e3c594b8382b4c61710a968c6adcdf49.tar.gz etisnoop-618c88a6e3c594b8382b4c61710a968c6adcdf49.tar.bz2 etisnoop-618c88a6e3c594b8382b4c61710a968c6adcdf49.zip |
Output YAML
Diffstat (limited to 'src/etisnoop.cpp')
-rw-r--r-- | src/etisnoop.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/etisnoop.cpp b/src/etisnoop.cpp index 1547af3..7aedef7 100644 --- a/src/etisnoop.cpp +++ b/src/etisnoop.cpp @@ -1,6 +1,6 @@ /* Copyright (C) 2014 CSP Innovazione nelle ICT s.c.a r.l. (http://www.csp.it/) - Copyright (C) 2017 Matthias P. Braendli (http://www.opendigitalradio.org) + Copyright (C) 2018 Matthias P. Braendli (http://www.opendigitalradio.org) Copyright (C) 2015 Data Path This program is free software: you can redistribute it and/or modify @@ -82,8 +82,8 @@ void usage(void) { fprintf(stderr, "Opendigitalradio ETISnoop analyser %s compiled at %s, %s\n\n" - "The ETISnoop analyser decodes and prints out a RAW ETI file in a\n" - "form that makes analysis easier.\n" + "The ETISnoop analyser decodes a RAW ETI file and prints out\n" + "its contents in YAML for easier analysis.\n" "\n" " http://www.opendigitalradio.org\n" "\n" @@ -94,7 +94,7 @@ void usage(void) " -s <filename.yaml>\n" " statistics mode: decode all subchannels and measure audio level, write statistics to file\n" " -n N stop analysing after N ETI frames\n" - " -f analyse FIC carousel\n" + " -f analyse FIC carousel (no YAML output)\n" " -r analyse FIG rates in FIGs per second\n" " -R analyse FIG rates in frames per FIG\n" " -w decode CRC-DABMUX and ODR-DabMux watermark.\n" @@ -198,7 +198,7 @@ int main(int argc, char *argv[]) FILE* etifd; if (file_name == "-") { - printf("Analysing stdin\n"); + fprintf(stderr, "Analysing stdin\n"); etifd = stdin; } else { @@ -215,4 +215,3 @@ int main(int argc, char *argv[]) fclose(etifd); } - |