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

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

Issue 3006913002: Delete remnants of RTX support in voice_engine. (Closed)
Patch Set: Delete unused members and size constant. Created 3 years, 3 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
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 16 matching lines...) Expand all
27 enum { kMaxVolumeLevel = 255 }; 27 enum { kMaxVolumeLevel = 255 };
28 // Min scale factor for per-channel volume scaling 28 // Min scale factor for per-channel volume scaling
29 const float kMinOutputVolumeScaling = 0.0f; 29 const float kMinOutputVolumeScaling = 0.0f;
30 // Max scale factor for per-channel volume scaling 30 // Max scale factor for per-channel volume scaling
31 const float kMaxOutputVolumeScaling = 10.0f; 31 const float kMaxOutputVolumeScaling = 10.0f;
32 // Min scale factor for output volume panning 32 // Min scale factor for output volume panning
33 const float kMinOutputVolumePanning = 0.0f; 33 const float kMinOutputVolumePanning = 0.0f;
34 // Max scale factor for output volume panning 34 // Max scale factor for output volume panning
35 const float kMaxOutputVolumePanning = 1.0f; 35 const float kMaxOutputVolumePanning = 1.0f;
36 36
37 enum { kVoiceEngineMaxIpPacketSizeBytes = 1500 }; // assumes Ethernet
38
39 // Audio processing 37 // Audio processing
40 const NoiseSuppression::Level kDefaultNsMode = NoiseSuppression::kModerate; 38 const NoiseSuppression::Level kDefaultNsMode = NoiseSuppression::kModerate;
41 const GainControl::Mode kDefaultAgcMode = 39 const GainControl::Mode kDefaultAgcMode =
42 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS) 40 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
43 GainControl::kAdaptiveDigital; 41 GainControl::kAdaptiveDigital;
44 #else 42 #else
45 GainControl::kAdaptiveAnalog; 43 GainControl::kAdaptiveAnalog;
46 #endif 44 #endif
47 const bool kDefaultAgcState = 45 const bool kDefaultAgcState =
48 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS) 46 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } // namespace webrtc 91 } // namespace webrtc
94 92
95 #if defined(_WIN32) 93 #if defined(_WIN32)
96 #define WEBRTC_VOICE_ENGINE_DEFAULT_DEVICE \ 94 #define WEBRTC_VOICE_ENGINE_DEFAULT_DEVICE \
97 AudioDeviceModule::kDefaultCommunicationDevice 95 AudioDeviceModule::kDefaultCommunicationDevice
98 #else 96 #else
99 #define WEBRTC_VOICE_ENGINE_DEFAULT_DEVICE 0 97 #define WEBRTC_VOICE_ENGINE_DEFAULT_DEVICE 0
100 #endif // #if (defined(_WIN32) 98 #endif // #if (defined(_WIN32)
101 99
102 #endif // WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H 100 #endif // WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H
OLDNEW
« webrtc/voice_engine/channel.h ('K') | « webrtc/voice_engine/channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698