Index: webrtc/voice_engine/channel.h |
diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
index 4056c7fb5688b5b7de5357ab70b876c2a1ef0c32..088b54b5e3950a9ab1cf405663c21bb0462887e6 100644 |
--- a/webrtc/voice_engine/channel.h |
+++ b/webrtc/voice_engine/channel.h |
@@ -333,6 +333,7 @@ class Channel |
int SetCodecFECStatus(bool enable); |
bool GetCodecFECStatus(); |
void SetNACKStatus(bool enable, int maxNumberOfPackets); |
+ void AdaptCodec(); |
// From AudioPacketizationCallback in the ACM |
int32_t SendData(FrameType frameType, |
@@ -548,7 +549,8 @@ class Channel |
// TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. |
rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
- SmoothingFilterImpl bitrate_smoother_; |
+ rtc::CriticalSection bitrate_smoother_lock_; |
+ SmoothingFilterImpl bitrate_smoother_ GUARDED_BY(bitrate_smoother_lock_); |
}; |
} // namespace voe |