Index: webrtc/modules/audio_coding/codecs/audio_encoder.h |
diff --git a/webrtc/modules/audio_coding/codecs/audio_encoder.h b/webrtc/modules/audio_coding/codecs/audio_encoder.h |
index ecc28d96a16239de05e39f04b3f41676f2d3f380..0d1545c58ea6dcc2cb025b4672d70b97000176e1 100644 |
--- a/webrtc/modules/audio_coding/codecs/audio_encoder.h |
+++ b/webrtc/modules/audio_coding/codecs/audio_encoder.h |
@@ -127,6 +127,10 @@ class AudioEncoder { |
// supported). |
virtual bool SetDtx(bool enable); |
+ // Returns the status of codec-internal DTX. The default implementation always |
+ // returns false. |
+ virtual bool GetDtx(); |
+ |
// Sets the application mode. Returns true if the codec was able to comply. |
// The default implementation just returns false. |
enum class Application { kSpeech, kAudio }; |