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

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

Issue 881603002: Adding an ALAC enum to AudioDecoderConfig (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation error Created 5 years, 10 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 | « media/base/audio_decoder_config.h ('k') | media/base/sample_format.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 #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 "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "media/audio/sample_rates.h" 10 #include "media/audio/sample_rates.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 case kCodecAMR_WB: 143 case kCodecAMR_WB:
144 return "amr_wb"; 144 return "amr_wb";
145 case kCodecGSM_MS: 145 case kCodecGSM_MS:
146 return "gsm_ms"; 146 return "gsm_ms";
147 case kCodecPCM_ALAW: 147 case kCodecPCM_ALAW:
148 return "pcm_alaw"; 148 return "pcm_alaw";
149 case kCodecPCM_MULAW: 149 case kCodecPCM_MULAW:
150 return "pcm_mulaw"; 150 return "pcm_mulaw";
151 case kCodecOpus: 151 case kCodecOpus:
152 return "opus"; 152 return "opus";
153 case kCodecALAC:
154 return "alac";
153 } 155 }
154 NOTREACHED(); 156 NOTREACHED();
155 return ""; 157 return "";
156 } 158 }
157 159
158 } // namespace media 160 } // namespace media
OLDNEW
« no previous file with comments | « media/base/audio_decoder_config.h ('k') | media/base/sample_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698