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/cricket/RtpHeaderExtensionQueryInterface.h"
7#include "mc/external/webrtc/AudioDeviceModule.h"
8#include "mc/external/webrtc/scoped_refptr.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace cricket { class VoiceMediaReceiveChannelInterface; }
13namespace cricket { class VoiceMediaSendChannelInterface; }
14namespace cricket { struct AudioOptions; }
15namespace cricket { struct Codec; }
16namespace cricket { struct MediaConfig; }
17namespace webrtc { class AudioCodecPairId; }
18namespace webrtc { class AudioState; }
19namespace webrtc { class Call; }
20namespace webrtc { class FileWrapper; }
21namespace webrtc { struct CryptoOptions; }
22// clang-format on
23
24namespace cricket {
25
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 0
31 virtual ~VoiceEngineInterface() /*override*/ = default;
32
33 // vIndex: 2
34 virtual void Init() = 0;
35
36 // vIndex: 3
37 virtual ::webrtc::scoped_refptr<::webrtc::AudioState> GetAudioState() const = 0;
38
39 // vIndex: 4
40 virtual ::std::unique_ptr<::cricket::VoiceMediaSendChannelInterface> CreateSendChannel(
46 );
47
48 // vIndex: 5
49 virtual ::std::unique_ptr<::cricket::VoiceMediaReceiveChannelInterface> CreateReceiveChannel(
55 );
56
57 // vIndex: 6
58 virtual ::std::vector<::cricket::Codec> const& send_codecs() const = 0;
59
60 // vIndex: 7
61 virtual ::std::vector<::cricket::Codec> const& recv_codecs() const = 0;
62
63 // vIndex: 8
64 virtual bool StartAecDump(::webrtc::FileWrapper, int64) = 0;
65
66 // vIndex: 9
67 virtual void StopAecDump() = 0;
68
69 // vIndex: 10
70 virtual ::std::optional<::webrtc::AudioDeviceModule::Stats> GetAudioDeviceStats() = 0;
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82
83 // NOLINTEND
84};
85
86} // namespace cricket
Definition RtpHeaderExtensionQueryInterface.h:12
Definition VoiceEngineInterface.h:26
Definition AudioCodecPairId.h:7
Definition Call.h:35
Definition FileWrapper.h:7
Definition AudioOptions.h:7
Definition MediaConfig.h:7
Definition CryptoOptions.h:7