DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
ec3_audio_util.h
1 // Copyright 2016 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 //
7 // Enhanced AC3 audio utility functions.
8 
9 #ifndef MEDIA_FILTERS_EC3_AUDIO_UTIL_H_
10 #define MEDIA_FILTERS_EC3_AUDIO_UTIL_H_
11 
12 #include <stdint.h>
13 #include <vector>
14 
15 namespace shaka {
16 namespace media {
17 
21 bool CalculateEC3ChannelMap(const std::vector<uint8_t>& ec3_data,
22  uint32_t* channel_map);
23 
24 } // namespace media
25 } // namespace shaka
26 
27 #endif // MEDIA_FILTERS_EC3_AUDIO_UTIL_H_