summaryrefslogtreecommitdiffstats
path: root/media/mojo/services
diff options
context:
space:
mode:
authormikhal <mikhal@chromium.org>2015-01-28 18:50:48 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-29 02:52:09 +0000
commit3e0fe16bc2c849c91530b0864b944bc5d736f9c7 (patch)
tree3717b43307fe76a935964a79cb73c8a1a312b068 /media/mojo/services
parent97bf67f3ea0e4bea0f15a37e487b3bbb511de138 (diff)
downloadchromium_src-3e0fe16bc2c849c91530b0864b944bc5d736f9c7.zip
chromium_src-3e0fe16bc2c849c91530b0864b944bc5d736f9c7.tar.gz
chromium_src-3e0fe16bc2c849c91530b0864b944bc5d736f9c7.tar.bz2
Adding an ALAC enum to AudioDecoderConfig
This CL enables using the ALAC codec within the media pipeline. This does not add ALAC support, as the ALAC codec is not part of the current build. BUG=441343 Review URL: https://codereview.chromium.org/881603002 Cr-Commit-Position: refs/heads/master@{#313654}
Diffstat (limited to 'media/mojo/services')
-rw-r--r--media/mojo/services/media_type_converters.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/mojo/services/media_type_converters.cc b/media/mojo/services/media_type_converters.cc
index 51b9fda..a930716d 100644
--- a/media/mojo/services/media_type_converters.cc
+++ b/media/mojo/services/media_type_converters.cc
@@ -47,6 +47,7 @@ ASSERT_ENUM_EQ(AudioCodec, kCodec, AUDIO_CODEC_, PCM_S16BE);
ASSERT_ENUM_EQ(AudioCodec, kCodec, AUDIO_CODEC_, PCM_S24BE);
ASSERT_ENUM_EQ(AudioCodec, kCodec, AUDIO_CODEC_, Opus);
ASSERT_ENUM_EQ(AudioCodec, kCodec, AUDIO_CODEC_, PCM_ALAW);
+ASSERT_ENUM_EQ(AudioCodec, kCodec, AUDIO_CODEC_, ALAC);
ASSERT_ENUM_EQ_RAW(AudioCodec, kAudioCodecMax, AUDIO_CODEC_MAX);
// ChannelLayout.