diff options
Diffstat (limited to 'src/dabplussnoop.hpp')
-rw-r--r-- | src/dabplussnoop.hpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/dabplussnoop.hpp b/src/dabplussnoop.hpp index b2a2dd3..b62d94d 100644 --- a/src/dabplussnoop.hpp +++ b/src/dabplussnoop.hpp @@ -84,8 +84,7 @@ he_aac_super_frame(subchannel_index) class DabPlusSnoop { public: - void set_subchannel_index(unsigned subchannel_index) - { + void set_subchannel_index(unsigned subchannel_index) { m_subchannel_index = subchannel_index; } @@ -93,8 +92,7 @@ class DabPlusSnoop m_write_to_wav_file = enable; } - void set_index(int index) - { + void set_index(int index) { m_index = index; } @@ -148,12 +146,15 @@ class StreamSnoop dps.set_subchannel_index(subchannel_index); } - void set_index(int index) - { + void set_index(int index) { m_index = index; dps.set_index(index); } + int get_index() const { + return m_index; + } + void push(uint8_t* streamdata, size_t streamsize); audio_statistics_t get_audio_statistics(void) const; |