diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-07-07 12:24:54 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-07-07 12:24:54 +0200 |
commit | ea355c46d1e57cb06384e7418bb0b3e539e36852 (patch) | |
tree | 035089d590549896d06feb6b780311c7a5e48177 /src/dabplussnoop.cpp | |
parent | 1d92e548f75b9fa6b5f3322ffa0658e0006c324b (diff) | |
download | etisnoop-ea355c46d1e57cb06384e7418bb0b3e539e36852.tar.gz etisnoop-ea355c46d1e57cb06384e7418bb0b3e539e36852.tar.bz2 etisnoop-ea355c46d1e57cb06384e7418bb0b3e539e36852.zip |
Do not write wav files in statistics mode
Diffstat (limited to 'src/dabplussnoop.cpp')
-rw-r--r-- | src/dabplussnoop.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dabplussnoop.cpp b/src/dabplussnoop.cpp index 228016d..f6bb8ac 100644 --- a/src/dabplussnoop.cpp +++ b/src/dabplussnoop.cpp @@ -299,7 +299,9 @@ bool DabPlusSnoop::analyse_au(vector<vector<uint8_t> >& aus) { stringstream ss_filename; - ss_filename << "stream-" << m_index; + if (m_write_to_wav_file) { + ss_filename << "stream-" << m_index; + } if (!m_faad_decoder.is_initialised()) { m_faad_decoder.open(ss_filename.str(), m_ps_flag, |