diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-10-02 12:05:15 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-10-02 12:05:15 +0200 |
commit | 44b50125cef0aecfbad01058f771924bf1e16512 (patch) | |
tree | 3ba259715ebaa268f5f6d58f4811e23e55e2feb1 /src/dabplussnoop.hpp | |
parent | 1a10e4cf82ff9082a84f81f3feadfceb528e08eb (diff) | |
download | etisnoop-44b50125cef0aecfbad01058f771924bf1e16512.tar.gz etisnoop-44b50125cef0aecfbad01058f771924bf1e16512.tar.bz2 etisnoop-44b50125cef0aecfbad01058f771924bf1e16512.zip |
Initialise snoop subchannel index
Diffstat (limited to 'src/dabplussnoop.hpp')
-rw-r--r-- | src/dabplussnoop.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dabplussnoop.hpp b/src/dabplussnoop.hpp index cc91f46..5efb194 100644 --- a/src/dabplussnoop.hpp +++ b/src/dabplussnoop.hpp @@ -125,6 +125,7 @@ class StreamSnoop { public: StreamSnoop(int subchid, bool dump_to_file) : dps(), + m_subchid(subchid), m_raw_data_stream_fd(nullptr), m_dump_to_file(dump_to_file) { dps.subchid = subchid; @@ -145,11 +146,11 @@ class StreamSnoop { audio_statistics_t get_audio_statistics(void) const; - int subchid = -1; int stream_index = -1; private: DabPlusSnoop dps; + int m_subchid = -1; FILE* m_raw_data_stream_fd; bool m_dump_to_file; }; |