diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-15 11:06:53 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-15 11:06:53 +0200 |
commit | 8ee90d42fc999d4048d789fa719aff20df3dfba4 (patch) | |
tree | 2206ae33aaf1bb577e9546faae89d885315c6ad9 /src/MuxElements.h | |
parent | 1aeaeb05aadf196636ea5b6a0613c38111821436 (diff) | |
download | dabmux-8ee90d42fc999d4048d789fa719aff20df3dfba4.tar.gz dabmux-8ee90d42fc999d4048d789fa719aff20df3dfba4.tar.bz2 dabmux-8ee90d42fc999d4048d789fa719aff20df3dfba4.zip |
Make all getSizeXYZ dabSubchannel member functions
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r-- | src/MuxElements.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/MuxElements.h b/src/MuxElements.h index d4a8ad3..ef5957f 100644 --- a/src/MuxElements.h +++ b/src/MuxElements.h @@ -256,8 +256,18 @@ public: { } + // Calculate subchannel size in number of CU unsigned short getSizeCu(void) const; + // Calculate subchannel size in number of bytes + unsigned short getSizeByte(void) const; + + // Calculate subchannel size in number of uint32_t + unsigned short getSizeWord(void) const; + + // Calculate subchannel size in number of uint64_t + unsigned short getSizeDWord(void) const; + std::string uid; std::string inputUri; @@ -412,11 +422,5 @@ std::vector<std::shared_ptr<DabService> >::iterator getService( DabComponent* component, std::vector<std::shared_ptr<DabService> >& services); -unsigned short getSizeDWord(dabSubchannel* subchannel); - -unsigned short getSizeByte(dabSubchannel* subchannel); - -unsigned short getSizeWord(dabSubchannel* subchannel); - #endif |