Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: webrtc/audio/audio_send_stream.cc

Issue 2689183002: Clean out platform specific things from voice_engine_defines.h. (Closed)
Patch Set: more remove Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/voice_engine/test/auto_test/standard/codec_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | webrtc/voice_engine/test/auto_test/standard/codec_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698