OLD | NEW |
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 case kCodecAMR_WB: | 115 case kCodecAMR_WB: |
116 return "amr_wb"; | 116 return "amr_wb"; |
117 case kCodecGSM_MS: | 117 case kCodecGSM_MS: |
118 return "gsm_ms"; | 118 return "gsm_ms"; |
119 case kCodecPCM_ALAW: | 119 case kCodecPCM_ALAW: |
120 return "pcm_alaw"; | 120 return "pcm_alaw"; |
121 case kCodecPCM_MULAW: | 121 case kCodecPCM_MULAW: |
122 return "pcm_mulaw"; | 122 return "pcm_mulaw"; |
123 case kCodecOpus: | 123 case kCodecOpus: |
124 return "opus"; | 124 return "opus"; |
| 125 case kCodecEAC3: |
| 126 return "eac3"; |
125 case kCodecALAC: | 127 case kCodecALAC: |
126 return "alac"; | 128 return "alac"; |
| 129 case kCodecAC3: |
| 130 return "ac3"; |
127 } | 131 } |
128 NOTREACHED(); | 132 NOTREACHED(); |
129 return ""; | 133 return ""; |
130 } | 134 } |
131 | 135 |
132 } // namespace media | 136 } // namespace media |
OLD | NEW |