niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | /* |
xians@webrtc.org | 9b3474a | 2012-02-02 08:59:11 +0000 | [diff] [blame] | 2 | * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
| 11 | #ifndef WEBRTC_ENGINE_CONFIGURATIONS_H_ |
| 12 | #define WEBRTC_ENGINE_CONFIGURATIONS_H_ |
| 13 | |
andrew@webrtc.org | 0851df8 | 2013-06-19 17:03:47 +0000 | [diff] [blame] | 14 | #include "webrtc/typedefs.h" |
| 15 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 16 | // ============================================================================ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 17 | // VoiceEngine |
| 18 | // ============================================================================ |
| 19 | |
| 20 | // ---------------------------------------------------------------------------- |
| 21 | // Settings for VoiceEngine |
| 22 | // ---------------------------------------------------------------------------- |
| 23 | |
| 24 | #define WEBRTC_VOICE_ENGINE_AGC // Near-end AGC |
| 25 | #define WEBRTC_VOICE_ENGINE_ECHO // Near-end AEC |
| 26 | #define WEBRTC_VOICE_ENGINE_NR // Near-end NS |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 27 | |
jiayl@webrtc.org | bf00740 | 2013-09-17 18:09:20 +0000 | [diff] [blame] | 28 | #if !defined(WEBRTC_ANDROID) && !defined(WEBRTC_IOS) |
xians@webrtc.org | 832d7c6 | 2011-12-08 16:45:46 +0000 | [diff] [blame] | 29 | #define WEBRTC_VOICE_ENGINE_TYPING_DETECTION // Typing detection |
| 30 | #endif |
| 31 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 32 | // ---------------------------------------------------------------------------- |
| 33 | // VoiceEngine sub-APIs |
| 34 | // ---------------------------------------------------------------------------- |
| 35 | |
| 36 | #define WEBRTC_VOICE_ENGINE_AUDIO_PROCESSING_API |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 37 | #define WEBRTC_VOICE_ENGINE_CODEC_API |
xians@webrtc.org | 5b6d3ce | 2012-03-15 14:40:00 +0000 | [diff] [blame] | 38 | #define WEBRTC_VOICE_ENGINE_EXTERNAL_MEDIA_API |
| 39 | #define WEBRTC_VOICE_ENGINE_FILE_API |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 40 | #define WEBRTC_VOICE_ENGINE_HARDWARE_API |
| 41 | #define WEBRTC_VOICE_ENGINE_NETEQ_STATS_API |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 42 | #define WEBRTC_VOICE_ENGINE_RTP_RTCP_API |
| 43 | #define WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API |
| 44 | #define WEBRTC_VOICE_ENGINE_VOLUME_CONTROL_API |
| 45 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 46 | // ============================================================================ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 47 | // Platform specific configurations |
| 48 | // ============================================================================ |
| 49 | |
| 50 | // ---------------------------------------------------------------------------- |
| 51 | // VideoEngine Windows |
| 52 | // ---------------------------------------------------------------------------- |
| 53 | |
| 54 | #if defined(_WIN32) |
andrew@webrtc.org | 8012474 | 2012-03-08 17:54:24 +0000 | [diff] [blame] | 55 | #define DIRECT3D9_RENDERING // Requires DirectX 9. |
| 56 | #endif |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 57 | |
| 58 | // ---------------------------------------------------------------------------- |
| 59 | // VideoEngine MAC |
| 60 | // ---------------------------------------------------------------------------- |
| 61 | |
sjlee@webrtc.org | 414fa7f | 2012-09-11 17:25:46 +0000 | [diff] [blame] | 62 | #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) |
andrew@webrtc.org | 8012474 | 2012-03-08 17:54:24 +0000 | [diff] [blame] | 63 | // #define CARBON_RENDERING |
| 64 | #define COCOA_RENDERING |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 65 | #endif |
| 66 | |
| 67 | // ---------------------------------------------------------------------------- |
| 68 | // VideoEngine Mobile iPhone |
| 69 | // ---------------------------------------------------------------------------- |
| 70 | |
sjlee@webrtc.org | 414fa7f | 2012-09-11 17:25:46 +0000 | [diff] [blame] | 71 | #if defined(WEBRTC_IOS) |
andrew@webrtc.org | 8012474 | 2012-03-08 17:54:24 +0000 | [diff] [blame] | 72 | #define EAGL_RENDERING |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 73 | #endif |
| 74 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 75 | #endif // WEBRTC_ENGINE_CONFIGURATIONS_H_ |