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 generates databases with information about all supported audio | 12 * This file generates databases with information about all supported audio |
13 * codecs. | 13 * codecs. |
14 */ | 14 */ |
15 | 15 |
16 #ifndef WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_CODEC_DATABASE_H_ | 16 #ifndef WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_CODEC_DATABASE_H_ |
17 #define WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_CODEC_DATABASE_H_ | 17 #define WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_CODEC_DATABASE_H_ |
18 | 18 |
19 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
20 #include "webrtc/engine_configurations.h" | |
21 #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" | 20 #include "webrtc/modules/audio_coding/acm2/rent_a_codec.h" |
22 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" | 21 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" |
| 22 #include "webrtc/voice_engine_configurations.h" |
23 | 23 |
24 namespace webrtc { | 24 namespace webrtc { |
25 | 25 |
26 namespace acm2 { | 26 namespace acm2 { |
27 | 27 |
28 // TODO(tlegrand): replace class ACMCodecDB with a namespace. | 28 // TODO(tlegrand): replace class ACMCodecDB with a namespace. |
29 class ACMCodecDB { | 29 class ACMCodecDB { |
30 public: | 30 public: |
31 // kMaxNumCodecs - Maximum number of codecs that can be activated in one | 31 // kMaxNumCodecs - Maximum number of codecs that can be activated in one |
32 // build. | 32 // build. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 static const CodecInst database_[kMaxNumCodecs]; | 74 static const CodecInst database_[kMaxNumCodecs]; |
75 static const CodecSettings codec_settings_[kMaxNumCodecs]; | 75 static const CodecSettings codec_settings_[kMaxNumCodecs]; |
76 static const NetEqDecoder neteq_decoders_[kMaxNumCodecs]; | 76 static const NetEqDecoder neteq_decoders_[kMaxNumCodecs]; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace acm2 | 79 } // namespace acm2 |
80 | 80 |
81 } // namespace webrtc | 81 } // namespace webrtc |
82 | 82 |
83 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_CODEC_DATABASE_H_ | 83 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_CODEC_DATABASE_H_ |
OLD | NEW |