summaryrefslogtreecommitdiffstats
path: root/src/SubchannelSource.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-26 23:10:57 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-26 23:10:57 +0100
commit67c82c97dfcfc68d4bd71f5773d21c34c8733c83 (patch)
treefe3b9b22293bb5c19eef4b44d30c8cde9b32057b /src/SubchannelSource.h
parent91d3331d467c05d673f965b9f6eb8d33715df2b7 (diff)
downloaddabmod-67c82c97dfcfc68d4bd71f5773d21c34c8733c83.tar.gz
dabmod-67c82c97dfcfc68d4bd71f5773d21c34c8733c83.tar.bz2
dabmod-67c82c97dfcfc68d4bd71f5773d21c34c8733c83.zip
Use ref instead of pointer for subchannel sources
Diffstat (limited to 'src/SubchannelSource.h')
-rw-r--r--src/SubchannelSource.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/SubchannelSource.h b/src/SubchannelSource.h
index f2f261b..a38c281 100644
--- a/src/SubchannelSource.h
+++ b/src/SubchannelSource.h
@@ -43,15 +43,15 @@ class SubchannelSource : public ModInput
public:
SubchannelSource(eti_STC &stc);
- size_t startAddress();
- size_t framesize();
- size_t framesizeCu();
- size_t bitrate();
- size_t protection();
- size_t protectionForm();
- size_t protectionLevel();
- size_t protectionOption();
- const std::vector<PuncturingRule>& get_rules();
+ size_t startAddress() const;
+ size_t framesize() const;
+ size_t framesizeCu() const;
+ size_t bitrate() const;
+ size_t protection() const;
+ size_t protectionForm() const;
+ size_t protectionLevel() const;
+ size_t protectionOption() const;
+ const std::vector<PuncturingRule>& get_rules() const;
void loadSubchannelData(const Buffer& data);
int process(Buffer* outputData);