| Index: webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc b/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc
|
| index 93b24bdf2c718405fbbbab56fea7c4d8cada2473..3a0f6ede66a95742517aae6437ad3f35d4018266 100644
|
| --- a/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc
|
| @@ -50,10 +50,9 @@ void AudioDecoderG722::Reset() {
|
|
|
| std::vector<AudioDecoder::ParseResult> AudioDecoderG722::ParsePayload(
|
| rtc::Buffer&& payload,
|
| - uint32_t timestamp,
|
| - bool is_primary) {
|
| + uint32_t timestamp) {
|
| return LegacyEncodedAudioFrame::SplitBySamples(this, std::move(payload),
|
| - timestamp, is_primary, 8, 16);
|
| + timestamp, 8, 16);
|
| }
|
|
|
| int AudioDecoderG722::PacketDuration(const uint8_t* encoded,
|
| @@ -128,10 +127,9 @@ void AudioDecoderG722Stereo::Reset() {
|
|
|
| std::vector<AudioDecoder::ParseResult> AudioDecoderG722Stereo::ParsePayload(
|
| rtc::Buffer&& payload,
|
| - uint32_t timestamp,
|
| - bool is_primary) {
|
| - return LegacyEncodedAudioFrame::SplitBySamples(
|
| - this, std::move(payload), timestamp, is_primary, 2 * 8, 16);
|
| + uint32_t timestamp) {
|
| + return LegacyEncodedAudioFrame::SplitBySamples(this, std::move(payload),
|
| + timestamp, 2 * 8, 16);
|
| }
|
|
|
| // Split the stereo packet and place left and right channel after each other
|
|
|