Adding APIs. These APIs are not implemented yet, they are to help developement of ACM.

Un-implemented APIs.

TBR=henrik.lundin@webrtc.org
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4725 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/neteq4/interface/neteq.h b/webrtc/modules/audio_coding/neteq4/interface/neteq.h
index 1f1ee67..7c39cb1 100644
--- a/webrtc/modules/audio_coding/neteq4/interface/neteq.h
+++ b/webrtc/modules/audio_coding/neteq4/interface/neteq.h
@@ -65,6 +65,12 @@
   kPlayoutStreaming
 };
 
+enum NetEqBackgroundNoiseMode {
+  kBgnOn,
+  kBgnFade,
+  kBgnOff
+};
+
 // This is the interface class for NetEq.
 class NetEq {
  public:
@@ -237,6 +243,14 @@
   // This method is to facilitate NACK.
   virtual int DecodedRtpInfo(int* sequence_number, uint32_t* timestamp) = 0;
 
+  // Not implemented.
+  virtual int InsertSyncPacket(const WebRtcRTPHeader& rtp_header,
+                               uint32_t receive_timestamp) = 0;
+
+  virtual void SetBackgroundNoiseMode(NetEqBackgroundNoiseMode mode) = 0;
+
+  virtual NetEqBackgroundNoiseMode BackgroundNoiseMode() const = 0;
+
  protected:
   NetEq() {}
 
diff --git a/webrtc/modules/audio_coding/neteq4/neteq_impl.cc b/webrtc/modules/audio_coding/neteq4/neteq_impl.cc
index 64addf8..ee2aedc 100644
--- a/webrtc/modules/audio_coding/neteq4/neteq_impl.cc
+++ b/webrtc/modules/audio_coding/neteq4/neteq_impl.cc
@@ -374,6 +374,17 @@
   return 0;
 }
 
+int NetEqImpl::InsertSyncPacket(const WebRtcRTPHeader& /* rtp_header */,
+                                uint32_t /* receive_timestamp */) {
+  return kNotImplemented;
+}
+
+void NetEqImpl::SetBackgroundNoiseMode(NetEqBackgroundNoiseMode /* mode */) {}
+
+NetEqBackgroundNoiseMode NetEqImpl::BackgroundNoiseMode() const {
+  return kBgnOn;
+}
+
 // Methods below this line are private.
 
 
diff --git a/webrtc/modules/audio_coding/neteq4/neteq_impl.h b/webrtc/modules/audio_coding/neteq4/neteq_impl.h
index b000961..9bdafdd 100644
--- a/webrtc/modules/audio_coding/neteq4/neteq_impl.h
+++ b/webrtc/modules/audio_coding/neteq4/neteq_impl.h
@@ -171,6 +171,13 @@
   // This method is to facilitate NACK.
   virtual int DecodedRtpInfo(int* sequence_number, uint32_t* timestamp);
 
+  virtual int InsertSyncPacket(const WebRtcRTPHeader& rtp_header,
+                                 uint32_t receive_timestamp);
+
+  virtual void SetBackgroundNoiseMode(NetEqBackgroundNoiseMode mode);
+
+  virtual NetEqBackgroundNoiseMode BackgroundNoiseMode() const;
+
  private:
   static const int kOutputSizeMs = 10;
   static const int kMaxFrameSize = 2880;  // 60 ms @ 48 kHz.