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

Unified Diff: webrtc/modules/audio_coding/codecs/legacy_encoded_audio_frame.h

Issue 2342443005: Moved Opus-specific payload splitting into AudioDecoderOpus. (Closed)
Patch Set: 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 5c080c5ce3434ffe04ac710a471591febd2bbc99..0e0b562380c193a9de1a4986e0d102a47f885f8a 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 : 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 : 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