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