diff --git a/src/stream.cpp b/src/stream.cpp --- a/src/stream.cpp +++ b/src/stream.cpp @@ -48,8 +48,8 @@ Stream::Stream(unsigned nc, bool x, unsi Stream::~Stream() { - // notify deletion - // delete channels + // TODO: notify deletion + // TODO: delete channels } bool Stream::hasX() const @@ -83,6 +83,11 @@ const ChannelInfoModel* Stream::infoMode return &_infoModel; } +ChannelInfoModel* Stream::infoModel() +{ + return const_cast(static_cast(*this).infoModel()); +} + void Stream::setNumChannels(unsigned nc, bool x) { unsigned oldNum = numChannels();