| 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 #ifndef WEBRTC_ENGINE_CONFIGURATIONS_H_ | 11 #ifndef WEBRTC_VOICE_ENGINE_CONFIGURATIONS_H_ |
| 12 #define WEBRTC_ENGINE_CONFIGURATIONS_H_ | 12 #define WEBRTC_VOICE_ENGINE_CONFIGURATIONS_H_ |
| 13 | 13 |
| 14 #include "webrtc/typedefs.h" | 14 #include "webrtc/typedefs.h" |
| 15 | 15 |
| 16 // ============================================================================ | 16 // ============================================================================ |
| 17 // VoiceEngine | 17 // VoiceEngine |
| 18 // ============================================================================ | 18 // ============================================================================ |
| 19 | 19 |
| 20 // ---------------------------------------------------------------------------- | 20 // ---------------------------------------------------------------------------- |
| 21 // Settings for VoiceEngine | 21 // Settings for VoiceEngine |
| 22 // ---------------------------------------------------------------------------- | 22 // ---------------------------------------------------------------------------- |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 #define WEBRTC_VOICE_ENGINE_AUDIO_PROCESSING_API | 36 #define WEBRTC_VOICE_ENGINE_AUDIO_PROCESSING_API |
| 37 #define WEBRTC_VOICE_ENGINE_CODEC_API | 37 #define WEBRTC_VOICE_ENGINE_CODEC_API |
| 38 #define WEBRTC_VOICE_ENGINE_EXTERNAL_MEDIA_API | 38 #define WEBRTC_VOICE_ENGINE_EXTERNAL_MEDIA_API |
| 39 #define WEBRTC_VOICE_ENGINE_FILE_API | 39 #define WEBRTC_VOICE_ENGINE_FILE_API |
| 40 #define WEBRTC_VOICE_ENGINE_HARDWARE_API | 40 #define WEBRTC_VOICE_ENGINE_HARDWARE_API |
| 41 #define WEBRTC_VOICE_ENGINE_NETEQ_STATS_API | 41 #define WEBRTC_VOICE_ENGINE_NETEQ_STATS_API |
| 42 #define WEBRTC_VOICE_ENGINE_RTP_RTCP_API | 42 #define WEBRTC_VOICE_ENGINE_RTP_RTCP_API |
| 43 #define WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API | 43 #define WEBRTC_VOICE_ENGINE_VIDEO_SYNC_API |
| 44 #define WEBRTC_VOICE_ENGINE_VOLUME_CONTROL_API | 44 #define WEBRTC_VOICE_ENGINE_VOLUME_CONTROL_API |
| 45 | 45 |
| 46 // ============================================================================ | 46 #endif // WEBRTC_VOICE_ENGINE_CONFIGURATIONS_H_ |
| 47 // Platform specific configurations | |
| 48 // ============================================================================ | |
| 49 | |
| 50 // ---------------------------------------------------------------------------- | |
| 51 // VideoEngine Windows | |
| 52 // ---------------------------------------------------------------------------- | |
| 53 | |
| 54 #if defined(_WIN32) | |
| 55 #define DIRECT3D9_RENDERING // Requires DirectX 9. | |
| 56 #endif | |
| 57 | |
| 58 // ---------------------------------------------------------------------------- | |
| 59 // VideoEngine MAC | |
| 60 // ---------------------------------------------------------------------------- | |
| 61 | |
| 62 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) | |
| 63 #define COCOA_RENDERING | |
| 64 #endif | |
| 65 | |
| 66 // ---------------------------------------------------------------------------- | |
| 67 // VideoEngine Mobile iPhone | |
| 68 // ---------------------------------------------------------------------------- | |
| 69 | |
| 70 #if defined(WEBRTC_IOS) | |
| 71 #define EAGL_RENDERING | |
| 72 #endif | |
| 73 | |
| 74 #endif // WEBRTC_ENGINE_CONFIGURATIONS_H_ | |
| OLD | NEW |