Index: webrtc/modules/audio_coding/codecs/opus/opus_interface.h |
diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_interface.h b/webrtc/modules/audio_coding/codecs/opus/opus_interface.h |
index 3db5152e47d842574b86a236301ccfe66a475832..29851518a8e845291734e3797ef41a9baa9a31a5 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/opus_interface.h |
+++ b/webrtc/modules/audio_coding/codecs/opus/opus_interface.h |
@@ -180,6 +180,32 @@ int16_t WebRtcOpus_EnableDtx(OpusEncInst* inst); |
*/ |
int16_t WebRtcOpus_DisableDtx(OpusEncInst* inst); |
+/**************************************************************************** |
+ * WebRtcOpus_EnableCbr() |
+ * |
+ * This function enables CBR for encoding. |
+ * |
+ * Input: |
+ * - inst : Encoder context |
+ * |
+ * Return value : 0 - Success |
+ * -1 - Error |
+ */ |
+int16_t WebRtcOpus_EnableCbr(OpusEncInst* inst); |
+ |
+/**************************************************************************** |
+ * WebRtcOpus_DisableCbr() |
+ * |
+ * This function disables CBR for encoding. |
+ * |
+ * Input: |
+ * - inst : Encoder context |
+ * |
+ * Return value : 0 - Success |
+ * -1 - Error |
+ */ |
+int16_t WebRtcOpus_DisableCbr(OpusEncInst* inst); |
+ |
/* |
* WebRtcOpus_SetComplexity(...) |
* |