diff --git a/src/stream.cpp b/src/stream.cpp --- a/src/stream.cpp +++ b/src/stream.cpp @@ -78,6 +78,11 @@ StreamChannel* Stream::channel(unsigned return const_cast(static_cast(*this).channel(index)); } +const ChannelInfoModel* Stream::infoModel() const +{ + return &_infoModel; +} + void Stream::setNumChannels(unsigned nc, bool x) { unsigned oldNum = numChannels(); diff --git a/src/stream.h b/src/stream.h --- a/src/stream.h +++ b/src/stream.h @@ -58,6 +58,7 @@ public: unsigned numSamples() const; const StreamChannel* channel(unsigned index) const; StreamChannel* channel(unsigned index); + const ChannelInfoModel* infoModel() const; /// Saves channel information void saveSettings(QSettings* settings) const;