Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: webrtc/common_types.h

Issue 2790493004: Supporting 48kHz PCM file. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual ~TraceCallback() {} 132 virtual ~TraceCallback() {}
133 TraceCallback() {} 133 TraceCallback() {}
134 }; 134 };
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 kFileFormatPcm48kHzFile = 10
143 }; 144 };
144 145
145 enum FrameType { 146 enum FrameType {
146 kEmptyFrame = 0, 147 kEmptyFrame = 0,
147 kAudioFrameSpeech = 1, 148 kAudioFrameSpeech = 1,
148 kAudioFrameCN = 2, 149 kAudioFrameCN = 2,
149 kVideoFrameKey = 3, 150 kVideoFrameKey = 3,
150 kVideoFrameDelta = 4, 151 kVideoFrameDelta = 4,
151 }; 152 };
152 153
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 enum class RtcpMode { kOff, kCompound, kReducedSize }; 836 enum class RtcpMode { kOff, kCompound, kReducedSize };
836 837
837 enum NetworkState { 838 enum NetworkState {
838 kNetworkUp, 839 kNetworkUp,
839 kNetworkDown, 840 kNetworkDown,
840 }; 841 };
841 842
842 } // namespace webrtc 843 } // namespace webrtc
843 844
844 #endif // WEBRTC_COMMON_TYPES_H_ 845 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/media_file/media_file_impl.cc » ('j') | webrtc/voice_engine/file_player.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698