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

Side by Side Diff: media/base/audio_decoder_config.h

Issue 14641006: Support EAC3 (Dolby Digital Plus) codec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_AUDIO_DECODER_CONFIG_H_ 5 #ifndef MEDIA_BASE_AUDIO_DECODER_CONFIG_H_
6 #define MEDIA_BASE_AUDIO_DECODER_CONFIG_H_ 6 #define MEDIA_BASE_AUDIO_DECODER_CONFIG_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 12 matching lines...) Expand all
23 kCodecPCM, 23 kCodecPCM,
24 kCodecVorbis, 24 kCodecVorbis,
25 kCodecFLAC, 25 kCodecFLAC,
26 kCodecAMR_NB, 26 kCodecAMR_NB,
27 kCodecAMR_WB, 27 kCodecAMR_WB,
28 kCodecPCM_MULAW, 28 kCodecPCM_MULAW,
29 kCodecGSM_MS, 29 kCodecGSM_MS,
30 kCodecPCM_S16BE, 30 kCodecPCM_S16BE,
31 kCodecPCM_S24BE, 31 kCodecPCM_S24BE,
32 kCodecOpus, 32 kCodecOpus,
33 kCodecEAC3,
33 // DO NOT ADD RANDOM AUDIO CODECS! 34 // DO NOT ADD RANDOM AUDIO CODECS!
34 // 35 //
35 // The only acceptable time to add a new codec is if there is production code 36 // The only acceptable time to add a new codec is if there is production code
36 // that uses said codec in the same CL. 37 // that uses said codec in the same CL.
37 38
38 // Must always be last! 39 // Must always be last!
39 kAudioCodecMax 40 kAudioCodecMax
40 }; 41 };
41 42
42 enum SampleFormat { 43 enum SampleFormat {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 bool is_encrypted_; 118 bool is_encrypted_;
118 119
119 // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler 120 // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler
120 // generated copy constructor and assignment operator. Since the extra data is 121 // generated copy constructor and assignment operator. Since the extra data is
121 // typically small, the performance impact is minimal. 122 // typically small, the performance impact is minimal.
122 }; 123 };
123 124
124 } // namespace media 125 } // namespace media
125 126
126 #endif // MEDIA_BASE_AUDIO_DECODER_CONFIG_H_ 127 #endif // MEDIA_BASE_AUDIO_DECODER_CONFIG_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698