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 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // registered in the database. Otherwise, returns kDecoderNotFound. | 140 // registered in the database. Otherwise, returns kDecoderNotFound. |
141 virtual int CheckPayloadTypes(const PacketList& packet_list) const; | 141 virtual int CheckPayloadTypes(const PacketList& packet_list) const; |
142 | 142 |
143 private: | 143 private: |
144 typedef std::map<uint8_t, DecoderInfo> DecoderMap; | 144 typedef std::map<uint8_t, DecoderInfo> DecoderMap; |
145 | 145 |
146 DecoderMap decoders_; | 146 DecoderMap decoders_; |
147 int active_decoder_; | 147 int active_decoder_; |
148 int active_cng_decoder_; | 148 int active_cng_decoder_; |
149 | 149 |
150 DISALLOW_COPY_AND_ASSIGN(DecoderDatabase); | 150 RTC_DISALLOW_COPY_AND_ASSIGN(DecoderDatabase); |
151 }; | 151 }; |
152 | 152 |
153 } // namespace webrtc | 153 } // namespace webrtc |
154 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DECODER_DATABASE_H_ | 154 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DECODER_DATABASE_H_ |
OLD | NEW |