Shaka Packager SDK
Loading...
Searching...
No Matches
ac3_audio_util.h
1// Copyright 2018 Google LLC. 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// AC3 audio utility functions.
8
9#ifndef PACKAGER_MEDIA_CODECS_AC3_AUDIO_UTIL_H_
10#define PACKAGER_MEDIA_CODECS_AC3_AUDIO_UTIL_H_
11
12#include <cstddef>
13#include <cstdint>
14#include <vector>
15
16namespace shaka {
17namespace media {
18
22size_t GetAc3NumChannels(const std::vector<uint8_t>& ac3_data);
23
24} // namespace media
25} // namespace shaka
26
27#endif // PACKAGER_MEDIA_CODECS_AC3_AUDIO_UTIL_H_
All the methods that are virtual are virtual for mocking.