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

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

Issue 1772583002: Delete VAD methods from AcmReceiver and move functionality inside NetEq (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@neteq-getaudio-frame
Patch Set: Created 4 years, 9 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 uint8_t current_cng_rtp_payload_type_ GUARDED_BY(crit_sect_); 372 uint8_t current_cng_rtp_payload_type_ GUARDED_BY(crit_sect_);
373 uint32_t ssrc_ GUARDED_BY(crit_sect_); 373 uint32_t ssrc_ GUARDED_BY(crit_sect_);
374 bool first_packet_ GUARDED_BY(crit_sect_); 374 bool first_packet_ GUARDED_BY(crit_sect_);
375 int error_code_ GUARDED_BY(crit_sect_); // Store last error code. 375 int error_code_ GUARDED_BY(crit_sect_); // Store last error code.
376 int decoder_error_code_ GUARDED_BY(crit_sect_); 376 int decoder_error_code_ GUARDED_BY(crit_sect_);
377 const BackgroundNoiseMode background_noise_mode_ GUARDED_BY(crit_sect_); 377 const BackgroundNoiseMode background_noise_mode_ GUARDED_BY(crit_sect_);
378 NetEqPlayoutMode playout_mode_ GUARDED_BY(crit_sect_); 378 NetEqPlayoutMode playout_mode_ GUARDED_BY(crit_sect_);
379 bool enable_fast_accelerate_ GUARDED_BY(crit_sect_); 379 bool enable_fast_accelerate_ GUARDED_BY(crit_sect_);
380 std::unique_ptr<Nack> nack_ GUARDED_BY(crit_sect_); 380 std::unique_ptr<Nack> nack_ GUARDED_BY(crit_sect_);
381 bool nack_enabled_ GUARDED_BY(crit_sect_); 381 bool nack_enabled_ GUARDED_BY(crit_sect_);
382 AudioFrame::VADActivity last_vad_activity_ GUARDED_BY(crit_sect_) =
383 AudioFrame::kVadPassive;
382 384
383 private: 385 private:
384 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); 386 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl);
385 }; 387 };
386 388
387 } // namespace webrtc 389 } // namespace webrtc
388 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ 390 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698