LeviLamina
Loading...
Searching...
No Matches
VoiceEngineInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/AudioDeviceModule.h"
7#include "mc/external/webrtc/RtpHeaderExtensionQueryInterface.h"
8#include "mc/external/webrtc/scoped_refptr.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class AudioCodecPairId; }
13namespace webrtc { class AudioDecoderFactory; }
14namespace webrtc { class AudioEncoderFactory; }
15namespace webrtc { class AudioState; }
16namespace webrtc { class Call; }
17namespace webrtc { class Environment; }
18namespace webrtc { class FileWrapper; }
19namespace webrtc { class VoiceMediaReceiveChannelInterface; }
20namespace webrtc { class VoiceMediaSendChannelInterface; }
21namespace webrtc { struct AudioOptions; }
22namespace webrtc { struct Codec; }
23namespace webrtc { struct CryptoOptions; }
24namespace webrtc { struct MediaConfig; }
25// clang-format on
26
27namespace webrtc {
28
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~VoiceEngineInterface() /*override*/ = default;
34
35 virtual void Init() = 0;
36
37 virtual ::webrtc::scoped_refptr<::webrtc::AudioState> GetAudioState() const = 0;
38
39 virtual ::std::unique_ptr<::webrtc::VoiceMediaSendChannelInterface> CreateSendChannel(
46 ) = 0;
47
48 virtual ::std::unique_ptr<::webrtc::VoiceMediaReceiveChannelInterface> CreateReceiveChannel(
55 ) = 0;
56
57 virtual ::std::vector<::webrtc::Codec> const& LegacySendCodecs() const = 0;
58
59 virtual ::std::vector<::webrtc::Codec> const& LegacyRecvCodecs() const = 0;
60
61 virtual ::webrtc::AudioEncoderFactory* encoder_factory() const = 0;
62
63 virtual ::webrtc::AudioDecoderFactory* decoder_factory() const = 0;
64
65 virtual bool StartAecDump(::webrtc::FileWrapper, int64) = 0;
66
67 virtual void StopAecDump() = 0;
68
69 virtual ::std::optional<::webrtc::AudioDeviceModule::Stats> GetAudioDeviceStats() = 0;
70 // NOLINTEND
71};
72
73} // namespace webrtc
Definition AudioCodecPairId.h:7
Definition AudioDecoderFactory.h:19
Definition AudioEncoderFactory.h:19
Definition AudioState.h:16
Definition Call.h:36
Definition Environment.h:7
Definition FileWrapper.h:7
Definition RtpHeaderExtensionQueryInterface.h:12
Definition VoiceEngineInterface.h:29
Definition VoiceMediaReceiveChannelInterface.h:20
Definition VoiceMediaSendChannelInterface.h:18
Definition AudioOptions.h:7
Definition Codec.h:13
Definition CryptoOptions.h:12
Definition MediaConfig.h:7