| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 size_t peak_index, | 63 size_t peak_index, |
| 64 int16_t best_correlation, | 64 int16_t best_correlation, |
| 65 bool active_speech, | 65 bool active_speech, |
| 66 bool /*fast_mode*/, | 66 bool /*fast_mode*/, |
| 67 AudioMultiVector* output) const override; | 67 AudioMultiVector* output) const override; |
| 68 | 68 |
| 69 private: | 69 private: |
| 70 size_t old_data_length_per_channel_; | 70 size_t old_data_length_per_channel_; |
| 71 size_t overlap_samples_; | 71 size_t overlap_samples_; |
| 72 | 72 |
| 73 DISALLOW_COPY_AND_ASSIGN(PreemptiveExpand); | 73 RTC_DISALLOW_COPY_AND_ASSIGN(PreemptiveExpand); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 struct PreemptiveExpandFactory { | 76 struct PreemptiveExpandFactory { |
| 77 PreemptiveExpandFactory() {} | 77 PreemptiveExpandFactory() {} |
| 78 virtual ~PreemptiveExpandFactory() {} | 78 virtual ~PreemptiveExpandFactory() {} |
| 79 | 79 |
| 80 virtual PreemptiveExpand* Create( | 80 virtual PreemptiveExpand* Create( |
| 81 int sample_rate_hz, | 81 int sample_rate_hz, |
| 82 size_t num_channels, | 82 size_t num_channels, |
| 83 const BackgroundNoise& background_noise, | 83 const BackgroundNoise& background_noise, |
| 84 size_t overlap_samples) const; | 84 size_t overlap_samples) const; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 } // namespace webrtc | 87 } // namespace webrtc |
| 88 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_PREEMPTIVE_EXPAND_H_ | 88 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_PREEMPTIVE_EXPAND_H_ |
| OLD | NEW |