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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 InitializeTransient(); | 413 InitializeTransient(); |
414 } | 414 } |
415 | 415 |
416 if (capture_nonlocked_.level_controller_enabled != | 416 if (capture_nonlocked_.level_controller_enabled != |
417 config.Get<LevelControl>().enabled) { | 417 config.Get<LevelControl>().enabled) { |
418 capture_nonlocked_.level_controller_enabled = | 418 capture_nonlocked_.level_controller_enabled = |
419 config.Get<LevelControl>().enabled; | 419 config.Get<LevelControl>().enabled; |
420 LOG(LS_INFO) << "Level controller activated: " | 420 LOG(LS_INFO) << "Level controller activated: " |
421 << config.Get<LevelControl>().enabled; | 421 << config.Get<LevelControl>().enabled; |
422 | 422 |
423 // TODO(peah): Remove the explicit deactivation once | |
424 // the upcoming changes for the level controller tuning | |
425 // are landed. | |
426 capture_nonlocked_.level_controller_enabled = false; | |
427 InitializeLevelController(); | 423 InitializeLevelController(); |
428 } | 424 } |
429 | 425 |
430 if(capture_nonlocked_.intelligibility_enabled != | 426 if(capture_nonlocked_.intelligibility_enabled != |
431 config.Get<Intelligibility>().enabled) { | 427 config.Get<Intelligibility>().enabled) { |
432 capture_nonlocked_.intelligibility_enabled = | 428 capture_nonlocked_.intelligibility_enabled = |
433 config.Get<Intelligibility>().enabled; | 429 config.Get<Intelligibility>().enabled; |
434 InitializeIntelligibility(); | 430 InitializeIntelligibility(); |
435 } | 431 } |
436 | 432 |
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1486 debug_dump_.capture.event_msg->mutable_config()->CopyFrom(config); | 1482 debug_dump_.capture.event_msg->mutable_config()->CopyFrom(config); |
1487 | 1483 |
1488 RETURN_ON_ERR(WriteMessageToDebugFile(debug_dump_.debug_file.get(), | 1484 RETURN_ON_ERR(WriteMessageToDebugFile(debug_dump_.debug_file.get(), |
1489 &debug_dump_.num_bytes_left_for_log_, | 1485 &debug_dump_.num_bytes_left_for_log_, |
1490 &crit_debug_, &debug_dump_.capture)); | 1486 &crit_debug_, &debug_dump_.capture)); |
1491 return kNoError; | 1487 return kNoError; |
1492 } | 1488 } |
1493 #endif // WEBRTC_AUDIOPROC_DEBUG_DUMP | 1489 #endif // WEBRTC_AUDIOPROC_DEBUG_DUMP |
1494 | 1490 |
1495 } // namespace webrtc | 1491 } // namespace webrtc |
OLD | NEW |