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 <cstddef>
11#include <cstdint>
12
13#include <packager/media/base/stream_info.h>
14
15namespace shaka {
16namespace media {
17
18class BufferWriter;
19
24bool WriteAudioSetupInformation(Codec codec,
25 const uint8_t* audio_specific_config,
26 size_t audio_specific_config_size,
27 BufferWriter* audio_setup_information);
28
29} // namespace media
30} // namespace shaka
31
32#endif // PACKAGER_MEDIA_CODECS_HLS_AUDIO_UTIL_H_
All the methods that are virtual are virtual for mocking.