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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 135 |
136 enum FileFormats { | 136 enum FileFormats { |
137 kFileFormatWavFile = 1, | 137 kFileFormatWavFile = 1, |
138 kFileFormatCompressedFile = 2, | 138 kFileFormatCompressedFile = 2, |
139 kFileFormatPreencodedFile = 4, | 139 kFileFormatPreencodedFile = 4, |
140 kFileFormatPcm16kHzFile = 7, | 140 kFileFormatPcm16kHzFile = 7, |
141 kFileFormatPcm8kHzFile = 8, | 141 kFileFormatPcm8kHzFile = 8, |
142 kFileFormatPcm32kHzFile = 9 | 142 kFileFormatPcm32kHzFile = 9 |
143 }; | 143 }; |
144 | 144 |
145 enum ProcessingTypes { | |
146 kPlaybackPerChannel = 0, | |
147 kPlaybackAllChannelsMixed, | |
148 kRecordingPerChannel, | |
149 kRecordingAllChannelsMixed, | |
150 kRecordingPreprocessing | |
151 }; | |
152 | |
153 enum FrameType { | 145 enum FrameType { |
154 kEmptyFrame = 0, | 146 kEmptyFrame = 0, |
155 kAudioFrameSpeech = 1, | 147 kAudioFrameSpeech = 1, |
156 kAudioFrameCN = 2, | 148 kAudioFrameCN = 2, |
157 kVideoFrameKey = 3, | 149 kVideoFrameKey = 3, |
158 kVideoFrameDelta = 4, | 150 kVideoFrameDelta = 4, |
159 }; | 151 }; |
160 | 152 |
161 // Statistics for an RTCP channel | 153 // Statistics for an RTCP channel |
162 struct RtcpStatistics { | 154 struct RtcpStatistics { |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
907 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 899 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
908 | 900 |
909 enum NetworkState { | 901 enum NetworkState { |
910 kNetworkUp, | 902 kNetworkUp, |
911 kNetworkDown, | 903 kNetworkDown, |
912 }; | 904 }; |
913 | 905 |
914 } // namespace webrtc | 906 } // namespace webrtc |
915 | 907 |
916 #endif // WEBRTC_COMMON_TYPES_H_ | 908 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |