| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // kOutputVADPassive when the signal contains no speech. | 162 // kOutputVADPassive when the signal contains no speech. |
| 163 void EnableVad() override; | 163 void EnableVad() override; |
| 164 | 164 |
| 165 // Disables post-decode VAD. | 165 // Disables post-decode VAD. |
| 166 void DisableVad() override; | 166 void DisableVad() override; |
| 167 | 167 |
| 168 rtc::Optional<uint32_t> GetPlayoutTimestamp() const override; | 168 rtc::Optional<uint32_t> GetPlayoutTimestamp() const override; |
| 169 | 169 |
| 170 int last_output_sample_rate_hz() const override; | 170 int last_output_sample_rate_hz() const override; |
| 171 | 171 |
| 172 rtc::Optional<CodecInst> GetDecoder(int payload_type) const override; | |
| 173 | |
| 174 int SetTargetNumberOfChannels() override; | 172 int SetTargetNumberOfChannels() override; |
| 175 | 173 |
| 176 int SetTargetSampleRate() override; | 174 int SetTargetSampleRate() override; |
| 177 | 175 |
| 178 // Returns the error code for the last occurred error. If no error has | 176 // Returns the error code for the last occurred error. If no error has |
| 179 // occurred, 0 is returned. | 177 // occurred, 0 is returned. |
| 180 int LastError() const override; | 178 int LastError() const override; |
| 181 | 179 |
| 182 // Returns the error code last returned by a decoder (audio or comfort noise). | 180 // Returns the error code last returned by a decoder (audio or comfort noise). |
| 183 // When LastError() returns kDecoderErrorCode or kComfortNoiseErrorCode, check | 181 // When LastError() returns kDecoderErrorCode or kComfortNoiseErrorCode, check |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 AudioFrame::kVadPassive; | 401 AudioFrame::kVadPassive; |
| 404 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ | 402 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ |
| 405 GUARDED_BY(crit_sect_); | 403 GUARDED_BY(crit_sect_); |
| 406 | 404 |
| 407 private: | 405 private: |
| 408 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); | 406 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); |
| 409 }; | 407 }; |
| 410 | 408 |
| 411 } // namespace webrtc | 409 } // namespace webrtc |
| 412 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ | 410 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
| OLD | NEW |