Remove global voe::Channel::numSocketThreads.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1067 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
perkj@webrtc.org 2011-11-30 18:11:23 +00:00
parent 27a82a65ca
commit 68f2168978
2 changed files with 3 additions and 4 deletions

View File

@ -976,8 +976,6 @@ Channel::NeededFrequency(const WebRtc_Word32 id)
return(highestNeeded);
}
WebRtc_UWord8 Channel::numSocketThreads = KNumSocketThreads;
WebRtc_Word32
Channel::CreateChannel(Channel*& channel,
const WebRtc_Word32 channelId,
@ -1078,8 +1076,9 @@ Channel::Channel(const WebRtc_Word32 channelId,
_audioCodingModule(*AudioCodingModule::Create(
VoEModuleId(instanceId, channelId))),
#ifndef WEBRTC_EXTERNAL_TRANSPORT
_numSocketThreads(KNumSocketThreads),
_socketTransportModule(*UdpTransport::Create(
VoEModuleId(instanceId, channelId), numSocketThreads)),
VoEModuleId(instanceId, channelId), _numSocketThreads)),
#endif
#ifdef WEBRTC_SRTP
_srtpModule(*SrtpModule::CreateSrtpModule(VoEModuleId(instanceId,

View File

@ -79,7 +79,6 @@ class Channel:
public:
enum {KNumSocketThreads = 1};
enum {KNumberOfSocketBuffers = 8};
static WebRtc_UWord8 numSocketThreads;
public:
virtual ~Channel();
static WebRtc_Word32 CreateChannel(Channel*& channel,
@ -543,6 +542,7 @@ private:
RtpRtcp& _rtpRtcpModule;
AudioCodingModule& _audioCodingModule;
#ifndef WEBRTC_EXTERNAL_TRANSPORT
WebRtc_UWord8 _numSocketThreads;
UdpTransport& _socketTransportModule;
#endif
#ifdef WEBRTC_SRTP