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&);
29 LocalAudioSource(LocalAudioSource const&);
30 LocalAudioSource();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ::webrtc::MediaSourceInterface::SourceState state() const /*override*/;
36
37 virtual bool remote() const /*override*/;
38
39 virtual ::cricket::AudioOptions const options() const /*override*/;
40
41 virtual void AddSink(::webrtc::AudioTrackSinkInterface* sink) /*override*/;
42
43 virtual void RemoveSink(::webrtc::AudioTrackSinkInterface* sink) /*override*/;
44
45 virtual ~LocalAudioSource() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // static functions
50 // NOLINTBEGIN
51 MCNAPI static ::webrtc::scoped_refptr<::webrtc::LocalAudioSource>
52 Create(::cricket::AudioOptions const* audio_options);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCNAPI ::webrtc::MediaSourceInterface::SourceState $state() const;
59
60 MCNAPI bool $remote() const;
61
62 MCNAPI ::cricket::AudioOptions const $options() const;
63
65
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftableForRefCountInterface();
75
76 MCNAPI static void** $vftableForNotifierInterface();
77 // NOLINTEND
78};
79
80} // namespace webrtc
Definition AudioTrackSinkInterface.h:7
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
static MCAPI void ** $vftableForNotifierInterface()
Definition Notifier.h:8
Definition AudioOptions.h:7
Definition Alias.h:14