OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | |
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_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_ | |
12 #define WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_ | |
13 | |
14 #include "webrtc/typedefs.h" | |
15 | |
16 // Checks for enabled codecs, we prevent enabling codecs which are not | |
17 // compatible. | |
18 #if ((defined WEBRTC_CODEC_ISAC) && (defined WEBRTC_CODEC_ISACFX)) | |
19 #error iSAC and iSACFX codecs cannot be enabled at the same time | |
20 #endif | |
21 | |
22 namespace webrtc { | |
23 | |
24 // General codec specific defines | |
25 const int kIsacWbDefaultRate = 32000; | |
26 const int kIsacSwbDefaultRate = 56000; | |
27 const int kIsacPacSize480 = 480; | |
28 const int kIsacPacSize960 = 960; | |
29 | |
30 } // namespace webrtc | |
31 | |
32 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_ | |
OLD | NEW |