I know this is ugly, but it helps a lot to quickly update webRTC in Chrome and libJingle.

Review URL: https://webrtc-codereview.appspot.com/596004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2290 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
niklas.enbom@webrtc.org 2012-05-24 11:41:02 +00:00
parent 2d1fc9bf17
commit ee646c37d4
3 changed files with 5 additions and 4 deletions

View File

@ -200,13 +200,13 @@ public:
// Optional setting of typing detection parameters
// Parameter with value == 0 will be ignored
// and left with default config.
// TODO(niklase) Remove default argument as soon as libJingle is updated!
virtual int SetTypingDetectionParameters(int timeWindow,
int costPerTyping,
int reportingThreshold,
int penaltyDecay,
int typeEventDelay) = 0;
int typeEventDelay = 0) = 0;
// Swaps the capture-side left and right audio channels when enabled. It
// only has an effect when using a stereo send codec. The setting is

View File

@ -1467,7 +1467,7 @@ int TransmitMixer::SetTypingDetectionParameters(int timeWindow,
if(penaltyDecay != 0)
_penaltyDecay = penaltyDecay;
if(_typeEventDelay != 0)
_penaltyDecay = _typeEventDelay;
_typeEventDelay = typeEventDelay;
return(0);

View File

@ -88,11 +88,12 @@ class VoEAudioProcessingImpl : public VoEAudioProcessing {
virtual int TimeSinceLastTyping(int &seconds);
// TODO(niklase) Remove default argument as soon as libJingle is updated!
virtual int SetTypingDetectionParameters(int timeWindow,
int costPerTyping,
int reportingThreshold,
int penaltyDecay,
int typeEventDelay);
int typeEventDelay = 0);
virtual void EnableStereoChannelSwapping(bool enable);
virtual bool IsStereoChannelSwappingEnabled();