Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / media / formats / mpeg / adts_constants.h
blobaa8ea2015c8c6bfb23b82cf6c1fd6188c4fc9708
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
6 #define MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
8 #include <stddef.h>
10 #include "media/base/channel_layout.h"
11 #include "media/base/media_export.h"
13 namespace media {
15 enum {
16 kADTSHeaderMinSize = 7,
17 kSamplesPerAACFrame = 1024,
20 MEDIA_EXPORT extern const int kADTSFrequencyTable[];
21 MEDIA_EXPORT extern const size_t kADTSFrequencyTableSize;
23 MEDIA_EXPORT extern const media::ChannelLayout kADTSChannelLayoutTable[];
24 MEDIA_EXPORT extern const size_t kADTSChannelLayoutTableSize;
26 } // namespace media
28 #endif // MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_