Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: webrtc/modules/audio_coding/neteq/neteq_impl.h

Issue 2351183002: AcmReceiver: Eliminate AcmReceiver::decoders_ (Closed)
Patch Set: case-insensitive string comparison Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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;
177
176 int SetTargetNumberOfChannels() override; 178 int SetTargetNumberOfChannels() override;
177 179
178 int SetTargetSampleRate() override; 180 int SetTargetSampleRate() override;
179 181
180 // Returns the error code for the last occurred error. If no error has 182 // Returns the error code for the last occurred error. If no error has
181 // occurred, 0 is returned. 183 // occurred, 0 is returned.
182 int LastError() const override; 184 int LastError() const override;
183 185
184 // Returns the error code last returned by a decoder (audio or comfort noise). 186 // Returns the error code last returned by a decoder (audio or comfort noise).
185 // When LastError() returns kDecoderErrorCode or kComfortNoiseErrorCode, check 187 // When LastError() returns kDecoderErrorCode or kComfortNoiseErrorCode, check
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 AudioFrame::kVadPassive; 407 AudioFrame::kVadPassive;
406 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ 408 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_
407 GUARDED_BY(crit_sect_); 409 GUARDED_BY(crit_sect_);
408 410
409 private: 411 private:
410 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); 412 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl);
411 }; 413 };
412 414
413 } // namespace webrtc 415 } // namespace webrtc
414 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ 416 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/include/neteq.h ('k') | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698