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_MAIN_ACM2_ACM_CODEC_DATABASE_H_ | 16 #ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_CODEC_DATABASE_H_ |
17 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_CODEC_DATABASE_H_ | 17 #define WEBRTC_MODULES_AUDIO_CODING_MAIN_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" | 20 #include "webrtc/engine_configurations.h" |
21 #include "webrtc/modules/audio_coding/main/acm2/rent_a_codec.h" | 21 #include "webrtc/modules/audio_coding/main/acm2/rent_a_codec.h" |
22 #include "webrtc/modules/audio_coding/neteq/interface/neteq.h" | 22 #include "webrtc/modules/audio_coding/neteq/include/neteq.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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 static const CodecInst database_[kMaxNumCodecs]; | 102 static const CodecInst database_[kMaxNumCodecs]; |
103 static const CodecSettings codec_settings_[kMaxNumCodecs]; | 103 static const CodecSettings codec_settings_[kMaxNumCodecs]; |
104 static const NetEqDecoder neteq_decoders_[kMaxNumCodecs]; | 104 static const NetEqDecoder neteq_decoders_[kMaxNumCodecs]; |
105 }; | 105 }; |
106 | 106 |
107 } // namespace acm2 | 107 } // namespace acm2 |
108 | 108 |
109 } // namespace webrtc | 109 } // namespace webrtc |
110 | 110 |
111 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_CODEC_DATABASE_H_ | 111 #endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_ACM2_ACM_CODEC_DATABASE_H_ |
OLD | NEW |