Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / audio_coding / main / acm2 / acm_receiver.h
index b6898f7..180b4ba 100644 (file)
@@ -30,7 +30,6 @@ namespace webrtc {
 
 struct CodecInst;
 class CriticalSectionWrapper;
-class RWLockWrapper;
 class NetEq;
 
 namespace acm2 {
@@ -210,13 +209,6 @@ class AcmReceiver {
   bool vad_enabled() const { return vad_enabled_; }
 
   //
-  // Get the decode lock used to protect decoder instances while decoding.
-  //
-  // Return value             : Pointer to the decode lock.
-  //
-  RWLockWrapper* DecodeLock() const { return decode_lock_; }
-
-  //
   // Flushes the NetEq packet and speech buffers.
   //
   void FlushBuffers();
@@ -316,12 +308,6 @@ class AcmReceiver {
   std::vector<uint16_t> GetNackList(int round_trip_time_ms) const;
 
   //
-  // Returns the background noise mode. This is only for testing and ACM is not
-  // calling this function. Used in acm_receiver_unittest.cc.
-  //
-  NetEqBackgroundNoiseMode BackgroundNoiseModeForTest() const;
-
-  //
   // Get statistics of calls to GetAudio().
   void GetDecodingCallStatistics(AudioDecodingCallStats* stats) const;
 
@@ -354,7 +340,6 @@ class AcmReceiver {
   CallStatistics call_stats_ GUARDED_BY(crit_sect_);
   NetEq* neteq_;
   Decoder decoders_[ACMCodecDB::kMaxNumCodecs];
-  RWLockWrapper* decode_lock_;
   bool vad_enabled_;
   Clock* clock_;  // TODO(henrik.lundin) Make const if possible.