| 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 14 matching lines...) Expand all Loading... |
| 25 #include "webrtc/modules/audio_coding/neteq/payload_splitter.h" | 25 #include "webrtc/modules/audio_coding/neteq/payload_splitter.h" |
| 26 #include "webrtc/modules/audio_coding/neteq/preemptive_expand.h" | 26 #include "webrtc/modules/audio_coding/neteq/preemptive_expand.h" |
| 27 #include "webrtc/modules/audio_coding/neteq/timestamp_scaler.h" | 27 #include "webrtc/modules/audio_coding/neteq/timestamp_scaler.h" |
| 28 | 28 |
| 29 namespace webrtc { | 29 namespace webrtc { |
| 30 | 30 |
| 31 std::string NetEq::Config::ToString() const { | 31 std::string NetEq::Config::ToString() const { |
| 32 std::stringstream ss; | 32 std::stringstream ss; |
| 33 ss << "sample_rate_hz=" << sample_rate_hz << ", enable_audio_classifier=" | 33 ss << "sample_rate_hz=" << sample_rate_hz << ", enable_audio_classifier=" |
| 34 << (enable_audio_classifier ? "true" : "false") | 34 << (enable_audio_classifier ? "true" : "false") |
| 35 << ", enable_post_decode_vad=" |
| 36 << (enable_post_decode_vad ? "true" : "false") |
| 35 << ", max_packets_in_buffer=" << max_packets_in_buffer | 37 << ", max_packets_in_buffer=" << max_packets_in_buffer |
| 36 << ", background_noise_mode=" << background_noise_mode | 38 << ", background_noise_mode=" << background_noise_mode |
| 37 << ", playout_mode=" << playout_mode | 39 << ", playout_mode=" << playout_mode |
| 38 << ", enable_fast_accelerate=" << enable_fast_accelerate; | 40 << ", enable_fast_accelerate=" << enable_fast_accelerate; |
| 39 return ss.str(); | 41 return ss.str(); |
| 40 } | 42 } |
| 41 | 43 |
| 42 // Creates all classes needed and inject them into a new NetEqImpl object. | 44 // Creates all classes needed and inject them into a new NetEqImpl object. |
| 43 // Return the new object. | 45 // Return the new object. |
| 44 NetEq* NetEq::Create(const NetEq::Config& config) { | 46 NetEq* NetEq::Create(const NetEq::Config& config) { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 66 dtmf_tone_generator, | 68 dtmf_tone_generator, |
| 67 packet_buffer, | 69 packet_buffer, |
| 68 payload_splitter, | 70 payload_splitter, |
| 69 timestamp_scaler, | 71 timestamp_scaler, |
| 70 accelerate_factory, | 72 accelerate_factory, |
| 71 expand_factory, | 73 expand_factory, |
| 72 preemptive_expand_factory); | 74 preemptive_expand_factory); |
| 73 } | 75 } |
| 74 | 76 |
| 75 } // namespace webrtc | 77 } // namespace webrtc |
| OLD | NEW |