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

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

Issue 1563893003: media: Fix case ordering of switch statements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ps2 Created 4 years, 11 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
« no previous file with comments | « no previous file | media/base/mime_util.cc » ('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 #include "media/base/audio_decoder_config.h" 5 #include "media/base/audio_decoder_config.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/base/limits.h" 8 #include "media/base/limits.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 case kCodecPCM_S24BE: 107 case kCodecPCM_S24BE:
108 return "pcm"; 108 return "pcm";
109 case kCodecVorbis: 109 case kCodecVorbis:
110 return "vorbis"; 110 return "vorbis";
111 case kCodecFLAC: 111 case kCodecFLAC:
112 return "flac"; 112 return "flac";
113 case kCodecAMR_NB: 113 case kCodecAMR_NB:
114 return "amr_nb"; 114 return "amr_nb";
115 case kCodecAMR_WB: 115 case kCodecAMR_WB:
116 return "amr_wb"; 116 return "amr_wb";
117 case kCodecPCM_MULAW:
118 return "pcm_mulaw";
117 case kCodecGSM_MS: 119 case kCodecGSM_MS:
118 return "gsm_ms"; 120 return "gsm_ms";
121 case kCodecOpus:
122 return "opus";
119 case kCodecPCM_ALAW: 123 case kCodecPCM_ALAW:
120 return "pcm_alaw"; 124 return "pcm_alaw";
121 case kCodecPCM_MULAW:
122 return "pcm_mulaw";
123 case kCodecOpus:
124 return "opus";
125 case kCodecALAC: 125 case kCodecALAC:
126 return "alac"; 126 return "alac";
127 } 127 }
128 NOTREACHED(); 128 NOTREACHED();
129 return ""; 129 return "";
130 } 130 }
131 131
132 } // namespace media 132 } // namespace media
OLDNEW
« no previous file with comments | « no previous file | media/base/mime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698