use network base frame size in protocol instead of acutal network packet size
This commit is contained in:
parent
e354d985bc
commit
1a42d2bf0e
3 changed files with 1673 additions and 1674 deletions
1033
src/channel.cpp
1033
src/channel.cpp
File diff suppressed because it is too large
Load diff
2284
src/protocol.cpp
2284
src/protocol.cpp
File diff suppressed because it is too large
Load diff
30
src/util.h
30
src/util.h
|
@ -447,29 +447,29 @@ class CNetworkTransportProps
|
|||
{
|
||||
public:
|
||||
CNetworkTransportProps() :
|
||||
iNetworkPacketSize ( 0 ),
|
||||
iBlockSizeFact ( 0 ),
|
||||
iNumAudioChannels ( 0 ),
|
||||
iSampleRate ( 0 ),
|
||||
eAudioCodingType ( CT_NONE ),
|
||||
iAudioCodingArg ( 0 ) {}
|
||||
iBaseNetworkPacketSize ( 0 ),
|
||||
iBlockSizeFact ( 0 ),
|
||||
iNumAudioChannels ( 0 ),
|
||||
iSampleRate ( 0 ),
|
||||
eAudioCodingType ( CT_NONE ),
|
||||
iAudioCodingArg ( 0 ) {}
|
||||
|
||||
CNetworkTransportProps ( const uint32_t iNNPS,
|
||||
CNetworkTransportProps ( const uint32_t iNBNPS,
|
||||
const uint16_t iNBSF,
|
||||
const uint32_t iNNACH,
|
||||
const uint32_t iNSR,
|
||||
const EAudComprType eNACT,
|
||||
const uint32_t iNVers,
|
||||
const int32_t iNACA ) :
|
||||
iNetworkPacketSize ( iNNPS ),
|
||||
iBlockSizeFact ( iNBSF ),
|
||||
iNumAudioChannels ( iNNACH ),
|
||||
iSampleRate ( iNSR ),
|
||||
eAudioCodingType ( eNACT ),
|
||||
iVersion ( iNVers ),
|
||||
iAudioCodingArg ( iNACA ) {}
|
||||
iBaseNetworkPacketSize ( iNBNPS ),
|
||||
iBlockSizeFact ( iNBSF ),
|
||||
iNumAudioChannels ( iNNACH ),
|
||||
iSampleRate ( iNSR ),
|
||||
eAudioCodingType ( eNACT ),
|
||||
iVersion ( iNVers ),
|
||||
iAudioCodingArg ( iNACA ) {}
|
||||
|
||||
uint32_t iNetworkPacketSize;
|
||||
uint32_t iBaseNetworkPacketSize;
|
||||
uint16_t iBlockSizeFact;
|
||||
uint32_t iNumAudioChannels;
|
||||
uint32_t iSampleRate;
|
||||
|
|
Loading…
Reference in a new issue