LeviLamina
Loading...
Searching...
No Matches
LocalAudioSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/AudioSourceInterface.h"
7#include "mc/external/webrtc/MediaSourceInterface.h"
8#include "mc/external/webrtc/Notifier.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cricket { struct AudioOptions; }
14namespace webrtc { class AudioTrackSinkInterface; }
15// clang-format on
16
17namespace webrtc {
18
19class LocalAudioSource : public ::webrtc::Notifier<::webrtc::AudioSourceInterface> {
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 LocalAudioSource& operator=(LocalAudioSource const&);
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 3
36 virtual ::webrtc::MediaSourceInterface::SourceState state() const /*override*/;
37
38 // vIndex: 4
39 virtual bool remote() const /*override*/;
40
41 // vIndex: 10
42 virtual ::cricket::AudioOptions const options() const /*override*/;
43
44 // vIndex: 8
45 virtual void AddSink(::webrtc::AudioTrackSinkInterface* sink) /*override*/;
46
47 // vIndex: 9
48 virtual void RemoveSink(::webrtc::AudioTrackSinkInterface* sink) /*override*/;
49
50 // vIndex: 2
51 virtual ~LocalAudioSource() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI void Initialize(::cricket::AudioOptions const* audio_options);
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCNAPI static ::webrtc::scoped_refptr<::webrtc::LocalAudioSource>
64 Create(::cricket::AudioOptions const* audio_options);
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCNAPI ::webrtc::MediaSourceInterface::SourceState $state() const;
71
72 MCNAPI bool $remote() const;
73
74 MCNAPI ::cricket::AudioOptions const $options() const;
75
77
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftableForRefCountInterface();
85
86 MCNAPI static void** $vftableForNotifierInterface();
87 // NOLINTEND
88};
89
90} // namespace webrtc
Definition AudioTrackSinkInterface.h:7
Definition LocalAudioSource.h:19
MCAPI void $AddSink(::webrtc::AudioTrackSinkInterface *sink)
MCAPI::webrtc::MediaSourceInterface::SourceState $state() const
MCAPI::cricket::AudioOptions const $options() const
static MCAPI ::webrtc::scoped_refptr<::webrtc::LocalAudioSource > Create(::cricket::AudioOptions const *audio_options)
static MCAPI void ** $vftableForRefCountInterface()
MCAPI void $RemoveSink(::webrtc::AudioTrackSinkInterface *sink)
MCAPI bool $remote() const
MCAPI void Initialize(::cricket::AudioOptions const *audio_options)
static MCAPI void ** $vftableForNotifierInterface()
Definition Notifier.h:8
Definition AudioOptions.h:7
Definition Alias.h:14