From 07d3536083ad8d0f08819e8be89aa5934fcaa712 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 15 Apr 2016 11:10:00 +0200 Subject: Rename dabSubchannel to DabSubchannel --- src/MuxElements.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/MuxElements.cpp') diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp index be837b1..c02afcd 100644 --- a/src/MuxElements.cpp +++ b/src/MuxElements.cpp @@ -201,8 +201,8 @@ void DabLabel::writeLabel(uint8_t* buf) const } } -vector::iterator getSubchannel( - vector& subchannels, int id) +vector::iterator getSubchannel( + vector& subchannels, int id) { return find_if( subchannels.begin(), @@ -254,7 +254,7 @@ std::vector >::iterator getService( throw std::runtime_error("Service not included in any component"); } -bool DabComponent::isPacketComponent(vector& subchannels) const +bool DabComponent::isPacketComponent(vector& subchannels) const { if (subchId > 63) { etiLog.log(error, @@ -337,7 +337,7 @@ const string DabComponent::get_parameter(const string& parameter) const subchannel_type_t DabService::getType(std::shared_ptr ensemble) const { - vector::iterator subchannel; + vector::iterator subchannel; vector::iterator component = getComponent(ensemble->components, id); if (component == ensemble->components.end()) { @@ -515,7 +515,7 @@ const string dabEnsemble::get_parameter(const string& parameter) const return ss.str(); } -unsigned short dabSubchannel::getSizeCu() const +unsigned short DabSubchannel::getSizeCu() const { if (protection.form == UEP) { return Sub_Channel_SizeTable[protection.uep.tableIndex]; @@ -570,17 +570,17 @@ unsigned short dabSubchannel::getSizeCu() const return 0; } -unsigned short dabSubchannel::getSizeByte(void) const +unsigned short DabSubchannel::getSizeByte(void) const { return bitrate * 3; } -unsigned short dabSubchannel::getSizeWord(void) const +unsigned short DabSubchannel::getSizeWord(void) const { return (bitrate * 3) >> 2; } -unsigned short dabSubchannel::getSizeDWord(void) const +unsigned short DabSubchannel::getSizeDWord(void) const { return (bitrate * 3) >> 3; } -- cgit v1.2.3