LeviLamina
Loading...
Searching...
No Matches
AudioDecoderFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RefCountInterface.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class AudioCodecPairId; }
11namespace webrtc { class AudioDecoder; }
12namespace webrtc { struct AudioCodecSpec; }
13namespace webrtc { struct SdpAudioFormat; }
14// clang-format on
15
16namespace webrtc {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ::std::vector<::webrtc::AudioCodecSpec> GetSupportedDecoders() = 0;
23
24 virtual bool IsSupportedDecoder(::webrtc::SdpAudioFormat const&) = 0;
25
26 virtual ::std::unique_ptr<::webrtc::AudioDecoder>
27 MakeAudioDecoder(::webrtc::SdpAudioFormat const&, ::std::optional<::webrtc::AudioCodecPairId>) = 0;
28
29 virtual ~AudioDecoderFactory() /*override*/ = default;
30 // NOLINTEND
31
32public:
33 // virtual function thunks
34 // NOLINTBEGIN
35
36 // NOLINTEND
37};
38
39} // namespace webrtc
Definition AudioCodecPairId.h:7
Definition AudioDecoderFactory.h:18
Definition AudioDecoder.h:7
Definition RefCountInterface.h:10
Definition AudioCodecSpec.h:7
Definition SdpAudioFormat.h:7