DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
adts_constants.h
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.
4 
5 #ifndef MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
6 #define MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
7 
8 #include <stddef.h>
9 
10 namespace shaka {
11 namespace media {
12 
13 enum {
14  kAdtsHeaderMinSize = 7,
15  kSamplesPerAACFrame = 1024,
16 };
17 
18 extern const int kAdtsFrequencyTable[];
19 extern const size_t kAdtsFrequencyTableSize;
20 
21 extern const int kAdtsNumChannelsTable[];
22 extern const size_t kAdtsNumChannelsTableSize;
23 
24 } // namespace media
25 } // namespace shaka
26 
27 #endif // MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_