| OLD | NEW | 
|---|
| 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 | 
| 11 /* | 11 /* | 
| 12  *  This file contains common constants for VoiceEngine, as well as | 12  *  This file contains common constants for VoiceEngine, as well as | 
| 13  *  platform specific settings and include files. | 13  *  platform specific settings and include files. | 
| 14  */ | 14  */ | 
| 15 | 15 | 
| 16 #ifndef WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H | 16 #ifndef WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H | 
| 17 #define WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H | 17 #define WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H | 
| 18 | 18 | 
| 19 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" | 
| 20 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 20 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 
| 21 #include "webrtc/voice_engine_configurations.h" | 21 #include "webrtc/typedefs.h" | 
| 22 | 22 | 
| 23 // ---------------------------------------------------------------------------- | 23 // ---------------------------------------------------------------------------- | 
| 24 //  Enumerators | 24 //  Enumerators | 
| 25 // ---------------------------------------------------------------------------- | 25 // ---------------------------------------------------------------------------- | 
| 26 | 26 | 
| 27 namespace webrtc { | 27 namespace webrtc { | 
| 28 | 28 | 
| 29 // Internal buffer size required for mono audio, based on the highest sample | 29 // Internal buffer size required for mono audio, based on the highest sample | 
| 30 // rate voice engine supports (10 ms of audio at 192 kHz). | 30 // rate voice engine supports (10 ms of audio at 192 kHz). | 
| 31 static const size_t kMaxMonoDataSizeSamples = 1920; | 31 static const size_t kMaxMonoDataSizeSamples = 1920; | 
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 308 #define __cdecl | 308 #define __cdecl | 
| 309 #define LPSOCKADDR struct sockaddr * | 309 #define LPSOCKADDR struct sockaddr * | 
| 310 #define LPCSTR const char * | 310 #define LPCSTR const char * | 
| 311 #define ULONG unsigned long | 311 #define ULONG unsigned long | 
| 312 | 312 | 
| 313 // Default device for Mac and iPhone | 313 // Default device for Mac and iPhone | 
| 314 #define WEBRTC_VOICE_ENGINE_DEFAULT_DEVICE 0 | 314 #define WEBRTC_VOICE_ENGINE_DEFAULT_DEVICE 0 | 
| 315 #endif  // #ifdef WEBRTC_MAC | 315 #endif  // #ifdef WEBRTC_MAC | 
| 316 | 316 | 
| 317 #endif  // WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H | 317 #endif  // WEBRTC_VOICE_ENGINE_VOICE_ENGINE_DEFINES_H | 
| OLD | NEW | 
|---|