Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
AudioSource.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
namespace
webrtc {
6
7
class
AudioSource
{
8
public
:
9
// AudioSource inner types declare
10
// clang-format off
11
class
Sink
;
12
// clang-format on
13
14
// AudioSource inner types define
15
class
Sink
{
16
public
:
17
// virtual functions
18
// NOLINTBEGIN
19
virtual
void
OnData(
void
const
*,
int
,
int
, uint64, uint64, ::std::optional<int64>) = 0;
20
21
virtual
void
OnClose() = 0;
22
23
virtual
int
NumPreferredChannels()
const
= 0;
24
25
virtual
~Sink
() =
default
;
26
// NOLINTEND
27
};
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
virtual
void
SetSink(
::webrtc::AudioSource::Sink
* sink) = 0;
33
34
virtual
~AudioSource
() =
default
;
35
// NOLINTEND
36
37
public
:
38
// vftables
39
// NOLINTBEGIN
40
MCNAPI
static
void
**
$vftable
();
41
// NOLINTEND
42
};
43
44
}
// namespace webrtc
webrtc::AudioSource::Sink
Definition
AudioSource.h:15
webrtc::AudioSource
Definition
AudioSource.h:7
webrtc::AudioSource::$vftable
static MCAPI void ** $vftable()
src
mc
external
webrtc
AudioSource.h
Generated on
for LeviLamina by
1.16.1