| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |    2  *  Copyright (c) 2014 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   82   CriticalSectionScoped cs(encoder_lock_.get()); |   82   CriticalSectionScoped cs(encoder_lock_.get()); | 
|   83   return encoder()->DecodeRedundant(encoded, encoded_len, sample_rate_hz, |   83   return encoder()->DecodeRedundant(encoded, encoded_len, sample_rate_hz, | 
|   84                                     max_decoded_bytes, decoded, speech_type); |   84                                     max_decoded_bytes, decoded, speech_type); | 
|   85 } |   85 } | 
|   86  |   86  | 
|   87 bool AudioEncoderDecoderMutableIsacFix::HasDecodePlc() const { |   87 bool AudioEncoderDecoderMutableIsacFix::HasDecodePlc() const { | 
|   88   CriticalSectionScoped cs(encoder_lock_.get()); |   88   CriticalSectionScoped cs(encoder_lock_.get()); | 
|   89   return encoder()->HasDecodePlc(); |   89   return encoder()->HasDecodePlc(); | 
|   90 } |   90 } | 
|   91  |   91  | 
|   92 int AudioEncoderDecoderMutableIsacFix::DecodePlc(int num_frames, |   92 size_t AudioEncoderDecoderMutableIsacFix::DecodePlc(size_t num_frames, | 
|   93                                                  int16_t* decoded) { |   93                                                     int16_t* decoded) { | 
|   94   CriticalSectionScoped cs(encoder_lock_.get()); |   94   CriticalSectionScoped cs(encoder_lock_.get()); | 
|   95   return encoder()->DecodePlc(num_frames, decoded); |   95   return encoder()->DecodePlc(num_frames, decoded); | 
|   96 } |   96 } | 
|   97  |   97  | 
|   98 int AudioEncoderDecoderMutableIsacFix::Init() { |   98 int AudioEncoderDecoderMutableIsacFix::Init() { | 
|   99   CriticalSectionScoped cs(encoder_lock_.get()); |   99   CriticalSectionScoped cs(encoder_lock_.get()); | 
|  100   return encoder()->Init(); |  100   return encoder()->Init(); | 
|  101 } |  101 } | 
|  102  |  102  | 
|  103 int AudioEncoderDecoderMutableIsacFix::IncomingPacket( |  103 int AudioEncoderDecoderMutableIsacFix::IncomingPacket( | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  135   CriticalSectionScoped cs(encoder_lock_.get()); |  135   CriticalSectionScoped cs(encoder_lock_.get()); | 
|  136   return encoder()->PacketHasFec(encoded, encoded_len); |  136   return encoder()->PacketHasFec(encoded, encoded_len); | 
|  137 } |  137 } | 
|  138  |  138  | 
|  139 size_t AudioEncoderDecoderMutableIsacFix::Channels() const { |  139 size_t AudioEncoderDecoderMutableIsacFix::Channels() const { | 
|  140   CriticalSectionScoped cs(encoder_lock_.get()); |  140   CriticalSectionScoped cs(encoder_lock_.get()); | 
|  141   return encoder()->Channels(); |  141   return encoder()->Channels(); | 
|  142 } |  142 } | 
|  143  |  143  | 
|  144 }  // namespace webrtc |  144 }  // namespace webrtc | 
| OLD | NEW |