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() {}