MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / getCodecSet

Method getCodecSet

GSM/GSML3CCElements.cpp:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93CodecType L3BearerCapability::getCodecSet() const
94{
95 unsigned result = 0;
96 for (unsigned i = 0; i < mNumOctet3a; i++) {
97 result |= getCodecType(i);
98 }
99 // If no Octet3a is given, the default is GSM_FR as you would expect.
100 return result ? (CodecType) result : GSM_FR;
101}
102
103void L3BearerCapability::text(ostream& os) const
104{

Callers 1

handleSetupMsgMethod · 0.80

Calls 4

CodecSetClass · 0.85
orSetMethod · 0.80
isEmptyMethod · 0.80
orTypeMethod · 0.80

Tested by

no test coverage detected