| 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 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2140 } else if (last_mode_ == kModeExpand) { | 2140 } else if (last_mode_ == kModeExpand) { |
| 2141 return OutputType::kPLC; | 2141 return OutputType::kPLC; |
| 2142 } else if (vad_->running() && !vad_->active_speech()) { | 2142 } else if (vad_->running() && !vad_->active_speech()) { |
| 2143 return OutputType::kVadPassive; | 2143 return OutputType::kVadPassive; |
| 2144 } else { | 2144 } else { |
| 2145 return OutputType::kNormalSpeech; | 2145 return OutputType::kNormalSpeech; |
| 2146 } | 2146 } |
| 2147 } | 2147 } |
| 2148 | 2148 |
| 2149 void NetEqImpl::CreateDecisionLogic() { | 2149 void NetEqImpl::CreateDecisionLogic() { |
| 2150 decision_logic_.reset(DecisionLogic::Create(fs_hz_, output_size_samples_, | 2150 decision_logic_.reset(DecisionLogic::Create( |
| 2151 playout_mode_, | 2151 fs_hz_, output_size_samples_, playout_mode_, decoder_database_.get(), |
| 2152 decoder_database_.get(), | 2152 *packet_buffer_.get(), delay_manager_.get(), buffer_level_filter_.get(), |
| 2153 *packet_buffer_.get(), | 2153 tick_timer_.get())); |
| 2154 delay_manager_.get(), | |
| 2155 buffer_level_filter_.get())); | |
| 2156 } | 2154 } |
| 2157 } // namespace webrtc | 2155 } // namespace webrtc |
| OLD | NEW |