aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-13 18:09:18 +0200
committerGitHub <noreply@github.com>2021-05-13 18:09:18 +0200
commita8414d39981faeed141e6fa5e88b93ef0f974a16 (patch)
treee207ae92c77e8a5f0591a61b7372c44cfe132358 /src
parent4f7218fe62998c843bf80cca826aed79c215acac (diff)
parent0136ed44ee5ea07d7bacd36c78bfe8977a44d5ef (diff)
downloadetisnoop-a8414d39981faeed141e6fa5e88b93ef0f974a16.tar.gz
etisnoop-a8414d39981faeed141e6fa5e88b93ef0f974a16.tar.bz2
etisnoop-a8414d39981faeed141e6fa5e88b93ef0f974a16.zip
Merge pull request #30 from andimik/next
Dump to .dab file instead of .msc
Diffstat (limited to 'src')
-rw-r--r--src/dabplussnoop.cpp2
-rw-r--r--src/etisnoop.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/dabplussnoop.cpp b/src/dabplussnoop.cpp
index 2f28982..b064d11 100644
--- a/src/dabplussnoop.cpp
+++ b/src/dabplussnoop.cpp
@@ -338,7 +338,7 @@ void StreamSnoop::push(uint8_t* streamdata, size_t streamsize)
// First dump to subchannel file (superframe+parity word)
if (m_dump_to_file and m_raw_data_stream_fd == nullptr) {
stringstream dump_filename;
- dump_filename << "stream-" << m_index << ".msc";
+ dump_filename << "stream-" << m_index << ".dab";
m_raw_data_stream_fd = fopen(dump_filename.str().c_str(), "w");
diff --git a/src/etisnoop.cpp b/src/etisnoop.cpp
index 45f4f9e..d727146 100644
--- a/src/etisnoop.cpp
+++ b/src/etisnoop.cpp
@@ -94,7 +94,9 @@ void usage(void)
" -i the file contains RAW ETI\n"
" -I the file contains FIC\n"
" -v increase verbosity (can be given more than once)\n"
- " -d N decode subchannel N into .msc file and if DAB+, decode to .wav file\n"
+ " -d N decode subchannel N into stream-N.dab file\n"
+ " if DAB+: decode audio to stream-N.wav file and extract PAD to stream-N.dab\n"
+ " (superframes with RS coding)\n"
" -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"