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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 // Disables post-decode VAD. | 167 // Disables post-decode VAD. |
168 void DisableVad() override; | 168 void DisableVad() override; |
169 | 169 |
170 rtc::Optional<uint32_t> GetPlayoutTimestamp() const override; | 170 rtc::Optional<uint32_t> GetPlayoutTimestamp() const override; |
171 | 171 |
172 int last_output_sample_rate_hz() const override; | 172 int last_output_sample_rate_hz() const override; |
173 | 173 |
174 rtc::Optional<CodecInst> GetDecoder(int payload_type) const override; | 174 rtc::Optional<CodecInst> GetDecoder(int payload_type) const override; |
175 | 175 |
176 const SdpAudioFormat* GetDecoderFormat(int payload_type) const override; | 176 rtc::Optional<SdpAudioFormat> GetDecoderFormat( |
| 177 int payload_type) const override; |
177 | 178 |
178 int SetTargetNumberOfChannels() override; | 179 int SetTargetNumberOfChannels() override; |
179 | 180 |
180 int SetTargetSampleRate() override; | 181 int SetTargetSampleRate() override; |
181 | 182 |
182 // Returns the error code for the last occurred error. If no error has | 183 // Returns the error code for the last occurred error. If no error has |
183 // occurred, 0 is returned. | 184 // occurred, 0 is returned. |
184 int LastError() const override; | 185 int LastError() const override; |
185 | 186 |
186 // Returns the error code last returned by a decoder (audio or comfort noise). | 187 // Returns the error code last returned by a decoder (audio or comfort noise). |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 AudioFrame::kVadPassive; | 408 AudioFrame::kVadPassive; |
408 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ | 409 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ |
409 GUARDED_BY(crit_sect_); | 410 GUARDED_BY(crit_sect_); |
410 | 411 |
411 private: | 412 private: |
412 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); | 413 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); |
413 }; | 414 }; |
414 | 415 |
415 } // namespace webrtc | 416 } // namespace webrtc |
416 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ | 417 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
OLD | NEW |