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:
|
public:
|
||||||
CNetworkTransportProps() :
|
CNetworkTransportProps() :
|
||||||
iNetworkPacketSize ( 0 ),
|
iBaseNetworkPacketSize ( 0 ),
|
||||||
iBlockSizeFact ( 0 ),
|
iBlockSizeFact ( 0 ),
|
||||||
iNumAudioChannels ( 0 ),
|
iNumAudioChannels ( 0 ),
|
||||||
iSampleRate ( 0 ),
|
iSampleRate ( 0 ),
|
||||||
eAudioCodingType ( CT_NONE ),
|
eAudioCodingType ( CT_NONE ),
|
||||||
iAudioCodingArg ( 0 ) {}
|
iAudioCodingArg ( 0 ) {}
|
||||||
|
|
||||||
CNetworkTransportProps ( const uint32_t iNNPS,
|
CNetworkTransportProps ( const uint32_t iNBNPS,
|
||||||
const uint16_t iNBSF,
|
const uint16_t iNBSF,
|
||||||
const uint32_t iNNACH,
|
const uint32_t iNNACH,
|
||||||
const uint32_t iNSR,
|
const uint32_t iNSR,
|
||||||
const EAudComprType eNACT,
|
const EAudComprType eNACT,
|
||||||
const uint32_t iNVers,
|
const uint32_t iNVers,
|
||||||
const int32_t iNACA ) :
|
const int32_t iNACA ) :
|
||||||
iNetworkPacketSize ( iNNPS ),
|
iBaseNetworkPacketSize ( iNBNPS ),
|
||||||
iBlockSizeFact ( iNBSF ),
|
iBlockSizeFact ( iNBSF ),
|
||||||
iNumAudioChannels ( iNNACH ),
|
iNumAudioChannels ( iNNACH ),
|
||||||
iSampleRate ( iNSR ),
|
iSampleRate ( iNSR ),
|
||||||
eAudioCodingType ( eNACT ),
|
eAudioCodingType ( eNACT ),
|
||||||
iVersion ( iNVers ),
|
iVersion ( iNVers ),
|
||||||
iAudioCodingArg ( iNACA ) {}
|
iAudioCodingArg ( iNACA ) {}
|
||||||
|
|
||||||
uint32_t iNetworkPacketSize;
|
uint32_t iBaseNetworkPacketSize;
|
||||||
uint16_t iBlockSizeFact;
|
uint16_t iBlockSizeFact;
|
||||||
uint32_t iNumAudioChannels;
|
uint32_t iNumAudioChannels;
|
||||||
uint32_t iSampleRate;
|
uint32_t iSampleRate;
|
||||||
|
|
Loading…
Reference in a new issue