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

Side by Side Diff: webrtc/voice_engine/voice_engine_defines.h

Issue 1493663002: Removing some unnecessary string manipulation code from VoEBase::GetVersion(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: comment Created 5 years 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 | « webrtc/voice_engine/voe_base_unittest.cc ('k') | webrtc/voice_engine/voice_engine_impl.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) 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 enum { kMinTelephoneEventDuration = 100 }; 50 enum { kMinTelephoneEventDuration = 100 };
51 enum { kMaxTelephoneEventDuration = 60000 }; // Actual limit is 2^16 51 enum { kMaxTelephoneEventDuration = 60000 }; // Actual limit is 2^16
52 enum { kMinTelephoneEventAttenuation = 0 }; // 0 dBm0 52 enum { kMinTelephoneEventAttenuation = 0 }; // 0 dBm0
53 enum { kMaxTelephoneEventAttenuation = 36 }; // -36 dBm0 53 enum { kMaxTelephoneEventAttenuation = 36 }; // -36 dBm0
54 enum { kMinTelephoneEventSeparationMs = 100 }; // Min delta time between two 54 enum { kMinTelephoneEventSeparationMs = 100 }; // Min delta time between two
55 // telephone events 55 // telephone events
56 enum { kVoiceEngineMaxIpPacketSizeBytes = 1500 }; // assumes Ethernet 56 enum { kVoiceEngineMaxIpPacketSizeBytes = 1500 }; // assumes Ethernet
57 57
58 enum { kVoiceEngineMaxModuleVersionSize = 960 }; 58 enum { kVoiceEngineMaxModuleVersionSize = 960 };
59 59
60 // Base
61 enum { kVoiceEngineVersionMaxMessageSize = 1024 };
62
63 // Audio processing 60 // Audio processing
64 const NoiseSuppression::Level kDefaultNsMode = NoiseSuppression::kModerate; 61 const NoiseSuppression::Level kDefaultNsMode = NoiseSuppression::kModerate;
65 const GainControl::Mode kDefaultAgcMode = 62 const GainControl::Mode kDefaultAgcMode =
66 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS) 63 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
67 GainControl::kAdaptiveDigital; 64 GainControl::kAdaptiveDigital;
68 #else 65 #else
69 GainControl::kAdaptiveAnalog; 66 GainControl::kAdaptiveAnalog;
70 #endif 67 #endif
71 const bool kDefaultAgcState = 68 const bool kDefaultAgcState =
72 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS) 69 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 #define __cdecl 308 #define __cdecl
312 #define LPSOCKADDR struct sockaddr * 309 #define LPSOCKADDR struct sockaddr *
313 #define LPCSTR const char * 310 #define LPCSTR const char *
314 #define ULONG unsigned long 311 #define ULONG unsigned long
315 312
316 // Default device for Mac and iPhone 313 // Default device for Mac and iPhone
317 #define WEBRTC_VOICE_ENGINE_DEFAULT_DEVICE 0 314 #define WEBRTC_VOICE_ENGINE_DEFAULT_DEVICE 0
318 #endif // #ifdef WEBRTC_MAC 315 #endif // #ifdef WEBRTC_MAC
319 316
320 #endif // WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H 317 #endif // WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H
OLDNEW
« no previous file with comments | « webrtc/voice_engine/voe_base_unittest.cc ('k') | webrtc/voice_engine/voice_engine_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698