| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |    2  *  Copyright (c) 2015 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  261   // The amount of audio protection is not exposed by the encoder, hence |  261   // The amount of audio protection is not exposed by the encoder, hence | 
|  262   // always returning 0. |  262   // always returning 0. | 
|  263   return 0; |  263   return 0; | 
|  264 } |  264 } | 
|  265  |  265  | 
|  266 const webrtc::AudioSendStream::Config& AudioSendStream::config() const { |  266 const webrtc::AudioSendStream::Config& AudioSendStream::config() const { | 
|  267   RTC_DCHECK(thread_checker_.CalledOnValidThread()); |  267   RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 
|  268   return config_; |  268   return config_; | 
|  269 } |  269 } | 
|  270  |  270  | 
 |  271 void AudioSendStream::SetTransportOverhead(int transport_overhead_per_packet) { | 
 |  272   RTC_DCHECK(thread_checker_.CalledOnValidThread()); | 
 |  273   channel_proxy_->SetTransportOverhead(transport_overhead_per_packet); | 
 |  274 } | 
 |  275  | 
|  271 VoiceEngine* AudioSendStream::voice_engine() const { |  276 VoiceEngine* AudioSendStream::voice_engine() const { | 
|  272   internal::AudioState* audio_state = |  277   internal::AudioState* audio_state = | 
|  273       static_cast<internal::AudioState*>(audio_state_.get()); |  278       static_cast<internal::AudioState*>(audio_state_.get()); | 
|  274   VoiceEngine* voice_engine = audio_state->voice_engine(); |  279   VoiceEngine* voice_engine = audio_state->voice_engine(); | 
|  275   RTC_DCHECK(voice_engine); |  280   RTC_DCHECK(voice_engine); | 
|  276   return voice_engine; |  281   return voice_engine; | 
|  277 } |  282 } | 
|  278  |  283  | 
|  279 // Apply current codec settings to a single voe::Channel used for sending. |  284 // Apply current codec settings to a single voe::Channel used for sending. | 
|  280 bool AudioSendStream::SetupSendCodec() { |  285 bool AudioSendStream::SetupSendCodec() { | 
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  386         LOG(LS_WARNING) << "SetVADStatus() failed: " << base->LastError(); |  391         LOG(LS_WARNING) << "SetVADStatus() failed: " << base->LastError(); | 
|  387         return false; |  392         return false; | 
|  388       } |  393       } | 
|  389     } |  394     } | 
|  390   } |  395   } | 
|  391   return true; |  396   return true; | 
|  392 } |  397 } | 
|  393  |  398  | 
|  394 }  // namespace internal |  399 }  // namespace internal | 
|  395 }  // namespace webrtc |  400 }  // namespace webrtc | 
| OLD | NEW |