| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 int AudioDecoder::DecodeRedundantInternal(const uint8_t* encoded, | 49 int AudioDecoder::DecodeRedundantInternal(const uint8_t* encoded, |
| 50 size_t encoded_len, | 50 size_t encoded_len, |
| 51 int sample_rate_hz, int16_t* decoded, | 51 int sample_rate_hz, int16_t* decoded, |
| 52 SpeechType* speech_type) { | 52 SpeechType* speech_type) { |
| 53 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, | 53 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, |
| 54 speech_type); | 54 speech_type); |
| 55 } | 55 } |
| 56 | 56 |
| 57 bool AudioDecoder::HasDecodePlc() const { return false; } | 57 bool AudioDecoder::HasDecodePlc() const { return false; } |
| 58 | 58 |
| 59 int AudioDecoder::DecodePlc(int num_frames, int16_t* decoded) { return -1; } | 59 int AudioDecoder::DecodePlc(int num_frames, int16_t* decoded) { return 0; } |
| 60 | 60 |
| 61 int AudioDecoder::IncomingPacket(const uint8_t* payload, | 61 int AudioDecoder::IncomingPacket(const uint8_t* payload, |
| 62 size_t payload_len, | 62 size_t payload_len, |
| 63 uint16_t rtp_sequence_number, | 63 uint16_t rtp_sequence_number, |
| 64 uint32_t rtp_timestamp, | 64 uint32_t rtp_timestamp, |
| 65 uint32_t arrival_timestamp) { | 65 uint32_t arrival_timestamp) { |
| 66 return 0; | 66 return 0; |
| 67 } | 67 } |
| 68 | 68 |
| 69 int AudioDecoder::ErrorCode() { return 0; } | 69 int AudioDecoder::ErrorCode() { return 0; } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 95 return kSpeech; | 95 return kSpeech; |
| 96 case 2: | 96 case 2: |
| 97 return kComfortNoise; | 97 return kComfortNoise; |
| 98 default: | 98 default: |
| 99 assert(false); | 99 assert(false); |
| 100 return kSpeech; | 100 return kSpeech; |
| 101 } | 101 } |
| 102 } | 102 } |
| 103 | 103 |
| 104 } // namespace webrtc | 104 } // namespace webrtc |
| OLD | NEW |