diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-09-18 11:49:11 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-09-18 11:49:11 +0200 |
commit | 015427d9e74f34dc7d0f7fbad4ad1eaad6537cce (patch) | |
tree | 01ae9249194fbff234e32b59c07f7894aef16878 /lib/edi/STIWriter.hpp | |
parent | 9c2e691744f96ae7ace8b82385b080ee9d858906 (diff) | |
download | dabmux-015427d9e74f34dc7d0f7fbad4ad1eaad6537cce.tar.gz dabmux-015427d9e74f34dc7d0f7fbad4ad1eaad6537cce.tar.bz2 dabmux-015427d9e74f34dc7d0f7fbad4ad1eaad6537cce.zip |
EDI in: add audio levels metadata and source version
Diffstat (limited to 'lib/edi/STIWriter.hpp')
-rw-r--r-- | lib/edi/STIWriter.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/edi/STIWriter.hpp b/lib/edi/STIWriter.hpp index a75cb69..16cbfe8 100644 --- a/lib/edi/STIWriter.hpp +++ b/lib/edi/STIWriter.hpp @@ -32,6 +32,8 @@ namespace EdiDecoder { struct sti_frame_t { std::vector<uint8_t> frame; frame_timestamp_t timestamp; + audio_level_data audio_levels; + odr_version_data version_data; }; class STIWriter : public STIDataCollector { @@ -53,6 +55,9 @@ class STIWriter : public STIDataCollector { virtual void update_sti_management(const sti_management_data& data); virtual void add_payload(sti_payload_data&& payload); + virtual void update_audio_levels(const audio_level_data& data); + virtual void update_odr_version(const odr_version_data& data); + virtual void assemble(void); // Return the assembled frame or an empty frame if not ready @@ -77,6 +82,8 @@ class STIWriter : public STIDataCollector { bool m_payload_valid = false; sti_payload_data m_payload; + audio_level_data m_audio_levels; + odr_version_data m_version_data; sti_frame_t m_stiFrame; }; |