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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 {kSampleRate16kHz, 1, false}, | 322 {kSampleRate16kHz, 1, false}, |
323 {kSampleRate16kHz, 1, false}, | 323 {kSampleRate16kHz, 1, false}, |
324 {kSampleRate16kHz, 1, false}}}), | 324 {kSampleRate16kHz, 1, false}}}), |
325 render_processing_format(kSampleRate16kHz, 1) {} | 325 render_processing_format(kSampleRate16kHz, 1) {} |
326 ProcessingConfig api_format; | 326 ProcessingConfig api_format; |
327 StreamConfig render_processing_format; | 327 StreamConfig render_processing_format; |
328 } formats_; | 328 } formats_; |
329 | 329 |
330 // APM constants. | 330 // APM constants. |
331 const struct ApmConstants { | 331 const struct ApmConstants { |
332 ApmConstants(int agc_startup_min_volume, bool use_experimental_agc) | 332 ApmConstants(int agc_startup_min_volume, |
| 333 int agc_clipped_level_min, |
| 334 bool use_experimental_agc) |
333 : // Format of processing streams at input/output call sites. | 335 : // Format of processing streams at input/output call sites. |
334 agc_startup_min_volume(agc_startup_min_volume), | 336 agc_startup_min_volume(agc_startup_min_volume), |
| 337 agc_clipped_level_min(agc_clipped_level_min), |
335 use_experimental_agc(use_experimental_agc) {} | 338 use_experimental_agc(use_experimental_agc) {} |
336 int agc_startup_min_volume; | 339 int agc_startup_min_volume; |
| 340 int agc_clipped_level_min; |
337 bool use_experimental_agc; | 341 bool use_experimental_agc; |
338 } constants_; | 342 } constants_; |
339 | 343 |
340 struct ApmCaptureState { | 344 struct ApmCaptureState { |
341 ApmCaptureState(bool transient_suppressor_enabled, | 345 ApmCaptureState(bool transient_suppressor_enabled, |
342 const std::vector<Point>& array_geometry, | 346 const std::vector<Point>& array_geometry, |
343 SphericalPointf target_direction); | 347 SphericalPointf target_direction); |
344 ~ApmCaptureState(); | 348 ~ApmCaptureState(); |
345 int aec_system_delay_jumps; | 349 int aec_system_delay_jumps; |
346 int delay_offset_ms; | 350 int delay_offset_ms; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 std::unique_ptr< | 423 std::unique_ptr< |
420 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> | 424 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> |
421 agc_render_signal_queue_; | 425 agc_render_signal_queue_; |
422 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> | 426 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> |
423 red_render_signal_queue_; | 427 red_render_signal_queue_; |
424 }; | 428 }; |
425 | 429 |
426 } // namespace webrtc | 430 } // namespace webrtc |
427 | 431 |
428 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 432 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
OLD | NEW |