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

Unified Diff: webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h

Issue 1184313002: Add AudioEncoder::GetTargetBitrate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixing GN compile Created 5 years, 6 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/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h
diff --git a/webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h b/webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h
index f1e1c51da8d724e119e21ab2b4e260a73736ecca..f02cf92dd960fb213e0ebfd85c0c9d114b167277 100644
--- a/webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h
+++ b/webrtc/modules/audio_coding/codecs/pcm16b/include/audio_encoder_pcm16b.h
@@ -17,7 +17,7 @@
namespace webrtc {
-class AudioEncoderPcm16B : public AudioEncoderPcm {
+class AudioEncoderPcm16B final : public AudioEncoderPcm {
public:
struct Config : public AudioEncoderPcm::Config {
public:
@@ -34,6 +34,8 @@ class AudioEncoderPcm16B : public AudioEncoderPcm {
int16_t EncodeCall(const int16_t* audio,
size_t input_len,
uint8_t* encoded) override;
+
+ int BytesPerSample() const override;
};
struct CodecInst;

Powered by Google App Engine
This is Rietveld 408576698