Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: webrtc/api/audio_codecs/audio_encoder.cc

Issue 3011623002: Add new ANA stats to GetStats() to count the number of actions taken by each controller. (Closed)
Patch Set: Initial version Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/audio_codecs/audio_encoder.cc
diff --git a/webrtc/api/audio_codecs/audio_encoder.cc b/webrtc/api/audio_codecs/audio_encoder.cc
index 3ee371f1cee7f4b5d5390bd8c3340d7d1abd42a3..e38fe9c2e5eee1bdc683a03b4033bfe3466fa9b6 100644
--- a/webrtc/api/audio_codecs/audio_encoder.cc
+++ b/webrtc/api/audio_codecs/audio_encoder.cc
@@ -24,6 +24,11 @@ AudioEncoder::EncodedInfo& AudioEncoder::EncodedInfo::operator=(
AudioEncoder::EncodedInfo& AudioEncoder::EncodedInfo::operator=(EncodedInfo&&) =
default;
+AudioEncoder::AudioEncoderStats::AudioEncoderStats() = default;
+AudioEncoder::AudioEncoderStats::~AudioEncoderStats() = default;
+AudioEncoder::AudioEncoderStats::AudioEncoderStats(const AudioEncoderStats&) =
+ default;
+
int AudioEncoder::RtpTimestampRateHz() const {
return SampleRateHz();
}
@@ -95,4 +100,8 @@ void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {}
void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms,
int max_frame_length_ms) {}
+AudioEncoder::AudioEncoderStats AudioEncoder::GetStats() const {
+ return AudioEncoder::AudioEncoderStats();
+}
+
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698