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

Unified Diff: webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h

Issue 2342443005: Moved Opus-specific payload splitting into AudioDecoderOpus. (Closed)
Patch Set: Some small fixes. Created 4 years, 3 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/g711/audio_decoder_pcm.h
diff --git a/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h b/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h
index ed390217a3d5a1ca7c273e8cf261bf6be538f9ac..483311b61b8ac0939477f754b881f5726f54c23d 100644
--- a/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h
+++ b/webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h
@@ -24,8 +24,7 @@ class AudioDecoderPcmU final : public AudioDecoder {
}
void Reset() override;
std::vector<ParseResult> ParsePayload(rtc::Buffer&& payload,
- uint32_t timestamp,
- bool is_primary) override;
+ uint32_t timestamp) override;
int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override;
int SampleRateHz() const override;
size_t Channels() const override;
@@ -49,8 +48,7 @@ class AudioDecoderPcmA final : public AudioDecoder {
}
void Reset() override;
std::vector<ParseResult> ParsePayload(rtc::Buffer&& payload,
- uint32_t timestamp,
- bool is_primary) override;
+ uint32_t timestamp) override;
int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override;
int SampleRateHz() const override;
size_t Channels() const override;

Powered by Google App Engine
This is Rietveld 408576698