use network base frame size in protocol instead of acutal network packet size

This commit is contained in:
Volker Fischer 2009-08-15 15:14:47 +00:00
parent e354d985bc
commit 1a42d2bf0e
3 changed files with 1673 additions and 1674 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -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;