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 f46ccd386296fd0073141a7d0b1b246d96db47a7..3f3de80290c2621312e526faf2c2dcc6c771a700 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) { |
- return LegacyEncodedAudioFrame::SplitBySamples(this, payload, timestamp, |
- is_primary, 8, 16); |
+ uint32_t timestamp) { |
+ return LegacyEncodedAudioFrame::SplitBySamples(this, payload, 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) { |
+ uint32_t timestamp) { |
return LegacyEncodedAudioFrame::SplitBySamples(this, payload, timestamp, |
- is_primary, 2 * 8, 16); |
+ 2 * 8, 16); |
} |
// Split the stereo packet and place left and right channel after each other |