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

Unified Diff: webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.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/legacy_encoded_audio_frame.h
diff --git a/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.h b/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.h
index 1c9c3f542a8049f27e864bf8730a0bfaa066f165..466c8b34be99ec615885fbe748082c565254b38d 100644
--- a/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.h
+++ b/webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.h
@@ -20,16 +20,13 @@ namespace webrtc {
class LegacyEncodedAudioFrame final : public AudioDecoder::EncodedAudioFrame {
public:
- LegacyEncodedAudioFrame(AudioDecoder* decoder,
- rtc::Buffer&& payload,
- bool is_primary_payload);
+ LegacyEncodedAudioFrame(AudioDecoder* decoder, rtc::Buffer&& payload);
~LegacyEncodedAudioFrame() override;
static std::vector<AudioDecoder::ParseResult> SplitBySamples(
AudioDecoder* decoder,
rtc::Buffer&& payload,
uint32_t timestamp,
- bool is_primary,
size_t bytes_per_ms,
uint32_t timestamps_per_ms);
@@ -44,7 +41,6 @@ class LegacyEncodedAudioFrame final : public AudioDecoder::EncodedAudioFrame {
private:
AudioDecoder* const decoder_;
const rtc::Buffer payload_;
- const bool is_primary_payload_;
};
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698