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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 // GetAudio(). | 331 // GetAudio(). |
332 NetEqOutputType LastOutputType() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_); | 332 NetEqOutputType LastOutputType() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_); |
333 | 333 |
334 // Updates Expand and Merge. | 334 // Updates Expand and Merge. |
335 virtual void UpdatePlcComponents(int fs_hz, size_t channels) | 335 virtual void UpdatePlcComponents(int fs_hz, size_t channels) |
336 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_); | 336 EXCLUSIVE_LOCKS_REQUIRED(crit_sect_); |
337 | 337 |
338 // Creates DecisionLogic object with the mode given by |playout_mode_|. | 338 // Creates DecisionLogic object with the mode given by |playout_mode_|. |
339 virtual void CreateDecisionLogic() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_); | 339 virtual void CreateDecisionLogic() EXCLUSIVE_LOCKS_REQUIRED(crit_sect_); |
340 | 340 |
341 mutable rtc::CriticalSection crit_sect_; | 341 rtc::CriticalSection crit_sect_; |
342 const rtc::scoped_ptr<BufferLevelFilter> buffer_level_filter_ | 342 const rtc::scoped_ptr<BufferLevelFilter> buffer_level_filter_ |
343 GUARDED_BY(crit_sect_); | 343 GUARDED_BY(crit_sect_); |
344 const rtc::scoped_ptr<DecoderDatabase> decoder_database_ | 344 const rtc::scoped_ptr<DecoderDatabase> decoder_database_ |
345 GUARDED_BY(crit_sect_); | 345 GUARDED_BY(crit_sect_); |
346 const rtc::scoped_ptr<DelayManager> delay_manager_ GUARDED_BY(crit_sect_); | 346 const rtc::scoped_ptr<DelayManager> delay_manager_ GUARDED_BY(crit_sect_); |
347 const rtc::scoped_ptr<DelayPeakDetector> delay_peak_detector_ | 347 const rtc::scoped_ptr<DelayPeakDetector> delay_peak_detector_ |
348 GUARDED_BY(crit_sect_); | 348 GUARDED_BY(crit_sect_); |
349 const rtc::scoped_ptr<DtmfBuffer> dtmf_buffer_ GUARDED_BY(crit_sect_); | 349 const rtc::scoped_ptr<DtmfBuffer> dtmf_buffer_ GUARDED_BY(crit_sect_); |
350 const rtc::scoped_ptr<DtmfToneGenerator> dtmf_tone_generator_ | 350 const rtc::scoped_ptr<DtmfToneGenerator> dtmf_tone_generator_ |
351 GUARDED_BY(crit_sect_); | 351 GUARDED_BY(crit_sect_); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 bool enable_fast_accelerate_ GUARDED_BY(crit_sect_); | 398 bool enable_fast_accelerate_ GUARDED_BY(crit_sect_); |
399 rtc::scoped_ptr<Nack> nack_ GUARDED_BY(crit_sect_); | 399 rtc::scoped_ptr<Nack> nack_ GUARDED_BY(crit_sect_); |
400 bool nack_enabled_ GUARDED_BY(crit_sect_); | 400 bool nack_enabled_ GUARDED_BY(crit_sect_); |
401 | 401 |
402 private: | 402 private: |
403 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); | 403 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); |
404 }; | 404 }; |
405 | 405 |
406 } // namespace webrtc | 406 } // namespace webrtc |
407 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ | 407 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
OLD | NEW |