| 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 |
| 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_PREEMPTIVE_EXPAND_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_PREEMPTIVE_EXPAND_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_PREEMPTIVE_EXPAND_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_PREEMPTIVE_EXPAND_H_ |
| 13 | 13 |
| 14 #include <assert.h> | 14 #include <assert.h> |
| 15 | 15 |
| 16 #include "webrtc/base/constructormagic.h" |
| 16 #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h" | 17 #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h" |
| 17 #include "webrtc/modules/audio_coding/neteq/time_stretch.h" | 18 #include "webrtc/modules/audio_coding/neteq/time_stretch.h" |
| 18 #include "webrtc/rtc_base/constructormagic.h" | |
| 19 #include "webrtc/typedefs.h" | 19 #include "webrtc/typedefs.h" |
| 20 | 20 |
| 21 namespace webrtc { | 21 namespace webrtc { |
| 22 | 22 |
| 23 // Forward declarations. | 23 // Forward declarations. |
| 24 class BackgroundNoise; | 24 class BackgroundNoise; |
| 25 | 25 |
| 26 // This class implements the PreemptiveExpand operation. Most of the work is | 26 // This class implements the PreemptiveExpand operation. Most of the work is |
| 27 // done in the base class TimeStretch, which is shared with the Accelerate | 27 // done in the base class TimeStretch, which is shared with the Accelerate |
| 28 // operation. In the PreemptiveExpand class, the operations that are specific to | 28 // operation. In the PreemptiveExpand class, the operations that are specific to |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |