| 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 17 matching lines...) Expand all Loading... |
| 28 #include "webrtc/voice_engine/include/voe_volume_control.h" | 28 #include "webrtc/voice_engine/include/voe_volume_control.h" |
| 29 #include "webrtc/voice_engine/voice_engine_impl.h" | 29 #include "webrtc/voice_engine/voice_engine_impl.h" |
| 30 | 30 |
| 31 namespace webrtc { | 31 namespace webrtc { |
| 32 | 32 |
| 33 namespace { | 33 namespace { |
| 34 | 34 |
| 35 constexpr char kOpusCodecName[] = "opus"; | 35 constexpr char kOpusCodecName[] = "opus"; |
| 36 | 36 |
| 37 bool IsCodec(const webrtc::CodecInst& codec, const char* ref_name) { | 37 bool IsCodec(const webrtc::CodecInst& codec, const char* ref_name) { |
| 38 return (_stricmp(codec.plname, ref_name) == 0); | 38 return (STR_CASE_CMP(codec.plname, ref_name) == 0); |
| 39 } | 39 } |
| 40 } // namespace | 40 } // namespace |
| 41 | 41 |
| 42 namespace internal { | 42 namespace internal { |
| 43 AudioSendStream::AudioSendStream( | 43 AudioSendStream::AudioSendStream( |
| 44 const webrtc::AudioSendStream::Config& config, | 44 const webrtc::AudioSendStream::Config& config, |
| 45 const rtc::scoped_refptr<webrtc::AudioState>& audio_state, | 45 const rtc::scoped_refptr<webrtc::AudioState>& audio_state, |
| 46 rtc::TaskQueue* worker_queue, | 46 rtc::TaskQueue* worker_queue, |
| 47 PacketRouter* packet_router, | 47 PacketRouter* packet_router, |
| 48 CongestionController* congestion_controller, | 48 CongestionController* congestion_controller, |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 LOG(LS_WARNING) << "SetVADStatus() failed."; | 379 LOG(LS_WARNING) << "SetVADStatus() failed."; |
| 380 return false; | 380 return false; |
| 381 } | 381 } |
| 382 } | 382 } |
| 383 } | 383 } |
| 384 return true; | 384 return true; |
| 385 } | 385 } |
| 386 | 386 |
| 387 } // namespace internal | 387 } // namespace internal |
| 388 } // namespace webrtc | 388 } // namespace webrtc |
| OLD | NEW |