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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 // Identifiers for preencoded files. | 221 // Identifiers for preencoded files. |
222 enum MediaFileUtility_CodecType | 222 enum MediaFileUtility_CodecType |
223 { | 223 { |
224 kCodecNoCodec = 0, | 224 kCodecNoCodec = 0, |
225 kCodecIsac, | 225 kCodecIsac, |
226 kCodecIsacSwb, | 226 kCodecIsacSwb, |
227 kCodecIsacLc, | 227 kCodecIsacLc, |
228 kCodecL16_8Khz, | 228 kCodecL16_8Khz, |
229 kCodecL16_16kHz, | 229 kCodecL16_16kHz, |
230 kCodecL16_32Khz, | 230 kCodecL16_32Khz, |
| 231 kCodecL16_48Khz, |
231 kCodecPcmu, | 232 kCodecPcmu, |
232 kCodecPcma, | 233 kCodecPcma, |
233 kCodecIlbc20Ms, | 234 kCodecIlbc20Ms, |
234 kCodecIlbc30Ms, | 235 kCodecIlbc30Ms, |
235 kCodecG722, | 236 kCodecG722, |
236 kCodecG722_1_32Kbps, | 237 kCodecG722_1_32Kbps, |
237 kCodecG722_1_24Kbps, | 238 kCodecG722_1_24Kbps, |
238 kCodecG722_1_16Kbps, | 239 kCodecG722_1_16Kbps, |
239 kCodecG722_1c_48, | 240 kCodecG722_1c_48, |
240 kCodecG722_1c_32, | 241 kCodecG722_1c_32, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 274 |
274 // Only reading or writing can be enabled, not both. | 275 // Only reading or writing can be enabled, not both. |
275 bool _reading; | 276 bool _reading; |
276 bool _writing; | 277 bool _writing; |
277 | 278 |
278 // Scratch buffer used for turning stereo audio to mono. | 279 // Scratch buffer used for turning stereo audio to mono. |
279 uint8_t _tempData[WAV_MAX_BUFFER_SIZE]; | 280 uint8_t _tempData[WAV_MAX_BUFFER_SIZE]; |
280 }; | 281 }; |
281 } // namespace webrtc | 282 } // namespace webrtc |
282 #endif // WEBRTC_MODULES_MEDIA_FILE_MEDIA_FILE_UTILITY_H_ | 283 #endif // WEBRTC_MODULES_MEDIA_FILE_MEDIA_FILE_UTILITY_H_ |
OLD | NEW |