Shaka Packager SDK
Loading...
Searching...
No Matches
hls_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#ifndef PACKAGER_MEDIA_CODECS_HLS_AUDIO_UTIL_H_
8#define PACKAGER_MEDIA_CODECS_HLS_AUDIO_UTIL_H_
9
10#include <packager/media/base/stream_info.h>
11
12namespace shaka {
13namespace media {
14
15class BufferWriter;
16
21bool WriteAudioSetupInformation(Codec codec,
22 const uint8_t* audio_specific_config,
23 size_t audio_specific_config_size,
24 BufferWriter* audio_setup_information);
25
26} // namespace media
27} // namespace shaka
28
29#endif // PACKAGER_MEDIA_CODECS_HLS_AUDIO_UTIL_H_
All the methods that are virtual are virtual for mocking.