PlasmoVoice
jvm
Plasmo
Voice
su.
plo.
voice.
api
Plasmo
Voice
su.
plo.
voice.
api.
addon
Addon
Container
Addon
Dependency
Addon
Initializer
Addon
Loader
Scope
CLIENT
SERVER
PROXY
ANY_SERVER
ANY
Addon
Manager
Addons
Loader
Client
Addons
Loader
Inject
Plasmo
Voice
inject
Plasmo
Voice()
Inject
Plasmo
Voice
Delegate
Server
Addons
Loader
Voice
Addons
Loader
su.
plo.
voice.
api.
addon.
annotation
Addon
Dependency
su.
plo.
voice.
api.
audio.
capture
Activation
Manager
su.
plo.
voice.
api.
audio.
codec
Audio
Decoder
Audio
Encoder
Codec
Exception
Codec
Manager
Codec
Supplier
su.
plo.
voice.
api.
audio.
line
Source
Line
Manager
su.
plo.
voice.
api.
audio.
source
Audio
Source
Audio
Source
Manager
su.
plo.
voice.
api.
client
Plasmo
Voice
Client
su.
plo.
voice.
api.
client.
audio.
capture
Audio
Capture
Client
Activation
Result
NOT_ACTIVATED
ACTIVATED
END
Type
PUSH_TO_TALK
VOICE
INHERIT
Client
Activation
Manager
su.
plo.
voice.
api.
client.
audio.
device
Al
Context
Audio
Device
Al
Context
Output
Device
Audio
Device
Device
Exception
Device
Factory
Device
Factory
Manager
Device
Manager
Device
Type
OUTPUT
INPUT
Hrtf
Audio
Device
Input
Device
Output
Device
su.
plo.
voice.
api.
client.
audio.
device.
source
Al
Source
State
INITIAL
PLAYING
PAUSED
STOPPED
Al
Source
Params
Companion
Device
Source
Device
Source
Params
su.
plo.
voice.
api.
client.
audio.
filter
Audio
Filter
Priority
LOW
LOWEST
NORMAL
HIGH
HIGHEST
Audio
Filter
Context
su.
plo.
voice.
api.
client.
audio.
line
Client
Player
Set
Client
Source
Line
Client
Source
Line
Manager
su.
plo.
voice.
api.
client.
audio.
source
Client
Audio
Source
Client
Self
Source
Info
Client
Source
Manager
Loopback
Source
su.
plo.
voice.
api.
client.
config
Client
Config
Advanced
Overlay
Source
States
Voice
Volumes
Icon
Position
TOP_LEFT
TOP_CENTER
TOP_RIGHT
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT
su.
plo.
voice.
api.
client.
config.
addon
Addon
Config
su.
plo.
voice.
api.
client.
config.
hotkey
Hotkey
Action
UP
DOWN
UNKNOWN
Key
On
Keys
Change
On
Press
Type
KEYSYM
SCANCODE
MOUSE
Hotkeys
su.
plo.
voice.
api.
client.
config.
overlay
Overlay
Position
TOP_LEFT
TOP_RIGHT
BOTTOM_LEFT
BOTTOM_RIGHT
Overlay
Source
State
OFF
ON
WHEN_TALKING
ALWAYS
NEVER
Overlay
Style
Companion
NAME_SKIN
SKIN
NAME
su.
plo.
voice.
api.
client.
connection
Server
Connection
Server
Info
Player
Info
Voice
Info
Udp
Client
Manager
su.
plo.
voice.
api.
client.
event.
audio.
capture
Audio
Capture
Event
Audio
Capture
Initialize
Event
Audio
Capture
Processed
Event
Processed
Samples
Audio
Capture
Start
Event
Audio
Capture
Stop
Event
Client
Activation
Registered
Event
Client
Activation
Unregistered
Event
su.
plo.
voice.
api.
client.
event.
audio.
device
Device
Closed
Event
Device
Open
Event
Device
Pre
Open
Event
Device
Source
Created
Event
su.
plo.
voice.
api.
client.
event.
audio.
device.
source
Al
Source
Buffer
Queued
Event
Al
Source
Buffer
Unqueued
Event
Al
Source
Closed
Event
Al
Source
Created
Event
Al
Source
Pause
Event
Al
Source
Play
Event
Al
Source
Stop
Event
Al
Source
Update
Param
Event
Al
Source
Write
Event
Al
Stream
Source
Stopped
Event
su.
plo.
voice.
api.
client.
event.
audio.
source
Audio
Source
Closed
Event
Audio
Source
Initialized
Event
Audio
Source
Reset
Event
Cause
SOURCE_STOPPED
TIMED_OUT
VOICE_END
Audio
Source
Write
Event
su.
plo.
voice.
api.
client.
event.
connection
Connection
Key
Pair
Generate
Event
Server
Info
Initialized
Event
Tcp
Client
Packet
Received
Event
Udp
Client
Packet
Received
Event
Udp
Client
Packet
Send
Event
Voice
Player
Connected
Event
Voice
Player
Disconnected
Event
Voice
Player
Update
Event
su.
plo.
voice.
api.
client.
event.
render
Hud
Activation
Render
Event
Voice
Distance
Render
Event
su.
plo.
voice.
api.
client.
event.
socket
Udp
Client
Closed
Event
Reason
FAILED_TO_CONNECT
DISCONNECT
TIMED_OUT
RECONNECT
CUSTOM
Udp
Client
Connected
Event
Udp
Client
Connect
Event
Udp
Client
Timed
Out
Event
su.
plo.
voice.
api.
client.
render
Distance
Visualizer
su.
plo.
voice.
api.
client.
socket
Udp
Client
su.
plo.
voice.
api.
client.
time
System
Time
Supplier
Time
Supplier
su.
plo.
voice.
api.
context
Plasmo
Voice
Holder
su.
plo.
voice.
api.
encryption
Encryption
Encryption
Exception
Encryption
Manager
Encryption
Supplier
su.
plo.
voice.
api.
event
Event
Event
Bus
Event
Cancellable
Event
Cancellable
Base
Event
Handler
Event
Priority
LOWEST
LOW
NORMAL
HIGH
HIGHEST
Event
Subscribe
su.
plo.
voice.
api.
logging
Debug
Logger
su.
plo.
voice.
api.
proxy
Plasmo
Voice
Proxy
su.
plo.
voice.
api.
proxy.
config
Proxy
Config
Host
su.
plo.
voice.
api.
proxy.
connection
Udp
Proxy
Connection
Manager
su.
plo.
voice.
api.
proxy.
event.
config
Voice
Proxy
Config
Reloaded
Event
su.
plo.
voice.
api.
proxy.
event.
socket
Udp
Proxy
Server
Create
Event
Udp
Proxy
Server
Started
Event
Udp
Proxy
Server
Stopped
Event
su.
plo.
voice.
api.
proxy.
player
Voice
Proxy
Player
su.
plo.
voice.
api.
proxy.
server
Remote
Server
Remote
Server
Manager
su.
plo.
voice.
api.
proxy.
socket
Udp
Proxy
Connection
Udp
Proxy
Server
su.
plo.
voice.
api.
server
Plasmo
Base
Voice
Server
Plasmo
Voice
Server
su.
plo.
voice.
api.
server.
audio.
capture
Player
Activation
Info
Proximity
Server
Activation
Helper
Distance
Supplier
Server
Activation
Builder
Player
Activation
End
Listener
Player
Activation
Listener
Player
Activation
Start
Listener
Requirements
Result
IGNORED
HANDLED
Server
Activation
Manager
su.
plo.
voice.
api.
server.
audio.
line
Base
Server
Source
Line
Builder
Base
Server
Source
Line
Manager
Proxy
Source
Line
Proxy
Source
Line
Manager
Server
Player
Set
Server
Player
Set
Manager
Server
Source
Line
Server
Source
Line
Manager
su.
plo.
voice.
api.
server.
audio.
provider
Array
Audio
Frame
Provider
Audio
Frame
Provider
Audio
Frame
Result
End
Of
Stream
Finished
Provided
Collection
Audio
Frame
Provider
Queue
Audio
Frame
Provider
su.
plo.
voice.
api.
server.
audio.
source
Audio
Sender
Base
Server
Direct
Source
Server
Audio
Source
Server
Broadcast
Source
Server
Direct
Source
Server
Entity
Source
Server
Player
Source
Server
Proximity
Source
Server
Static
Source
su.
plo.
voice.
api.
server.
config
Server
Config
Host
Public
Voice
Opus
Proximity
Weights
su.
plo.
voice.
api.
server.
connection
Packet
Manager
Tcp
Server
Packet
Manager
Udp
Connection
Manager
Udp
Server
Connection
Manager
su.
plo.
voice.
api.
server.
event.
audio.
capture
Server
Activation
Register
Event
Server
Activation
Unregister
Event
su.
plo.
voice.
api.
server.
event.
audio.
source
Player
Speak
End
Event
Player
Speak
Event
Server
Source
Audio
Packet
Event
Result
IGNORED
HANDLED
Server
Source
Created
Event
Server
Source
Packet
Event
Result
IGNORED
HANDLED
Server
Source
Removed
Event
su.
plo.
voice.
api.
server.
event.
config
Voice
Server
Config
Reloaded
Event
su.
plo.
voice.
api.
server.
event.
connection
Tcp
Packet
Received
Event
Tcp
Packet
Send
Event
Udp
Client
Connected
Event
Udp
Client
Connect
Event
Udp
Client
Disconnected
Event
Udp
Packet
Received
Event
Udp
Packet
Send
Event
su.
plo.
voice.
api.
server.
event.
mute
Player
Voice
Muted
Event
Player
Voice
Unmuted
Event
su.
plo.
voice.
api.
server.
event.
player
Player
Activation
Distance
Update
Event
Player
Permission
Update
Event
su.
plo.
voice.
api.
server.
event.
socket
Udp
Server
Create
Event
Udp
Server
Started
Event
Udp
Server
Stopped
Event
su.
plo.
voice.
api.
server.
language
Server
Languages
su.
plo.
voice.
api.
server.
mute
Mute
Duration
Unit
SECOND
MINUTE
HOUR
DAY
WEEK
TIMESTAMP
Mute
Manager
Server
Mute
Info
su.
plo.
voice.
api.
server.
mute.
storage
Mute
Storage
su.
plo.
voice.
api.
server.
player
Voice
Player
Voice
Player
Manager
Voice
Proxy
Player
Manager
Voice
Server
Player
Voice
Server
Player
Manager
su.
plo.
voice.
api.
server.
resource
Resource
Loader
su.
plo.
voice.
api.
server.
socket
Udp
Connection
Udp
Server
Udp
Server
Connection
su.
plo.
voice.
api.
util
Audio
Util
Circular
Buffer
su.
plo.
voice.
proto.
data.
audio.
capture
Activation
Capture
Info
Voice
Activation
su.
plo.
voice.
proto.
data.
audio.
codec
Codec
Info
su.
plo.
voice.
proto.
data.
audio.
codec.
opus
Opus
Decoder
Info
Opus
Encoder
Info
Opus
Mode
VOIP
AUDIO
RESTRICTED_LOWDELAY
su.
plo.
voice.
proto.
data.
audio.
line
Source
Line
Voice
Source
Line
su.
plo.
voice.
proto.
data.
audio.
source
Direct
Source
Info
Entity
Source
Info
Player
Source
Info
Self
Source
Info
Source
Info
Type
PLAYER
ENTITY
STATIC
DIRECT
Static
Source
Info
su.
plo.
voice.
proto.
data.
encryption
Encryption
Info
su.
plo.
voice.
proto.
data.
player
Voice
Player
Info
su.
plo.
voice.
proto.
packets
Packet
Packet
Handler
Packet
Registry
Packet
Serializable
Packet
Util
su.
plo.
voice.
proto.
packets.
tcp
Packet
Tcp
Codec
Packet
Tcp
Handler
su.
plo.
voice.
proto.
packets.
tcp.
clientbound
Activation
Register
Packet
Activation
Unregister
Packet
Animated
Action
Bar
Packet
Client
Packet
Tcp
Handler
Config
Packet
Config
Player
Info
Packet
Connection
Packet
Distance
Visualize
Packet
Language
Packet
Player
Disconnect
Packet
Player
Info
Request
Packet
Player
Info
Update
Packet
Player
List
Packet
Self
Source
Info
Packet
Source
Audio
End
Packet
Source
Info
Packet
Source
Line
Player
Add
Packet
Source
Line
Player
Remove
Packet
Source
Line
Players
List
Packet
Source
Line
Register
Packet
Source
Line
Unregister
Packet
su.
plo.
voice.
proto.
packets.
tcp.
serverbound
Language
Request
Packet
Player
Activation
Distances
Packet
Player
Audio
End
Packet
Player
Info
Packet
Player
State
Packet
Server
Packet
Tcp
Handler
Source
Info
Request
Packet
su.
plo.
voice.
proto.
packets.
udp
Packet
Udp
Packet
Udp
Codec
Packet
Udp
Handler
su.
plo.
voice.
proto.
packets.
udp.
bothbound
Base
Audio
Packet
Custom
Packet
Ping
Packet
su.
plo.
voice.
proto.
packets.
udp.
clientbound
Client
Packet
Udp
Handler
Self
Audio
Info
Packet
Source
Audio
Packet
su.
plo.
voice.
proto.
packets.
udp.
serverbound
Player
Audio
Packet
Server
Packet
Udp
Handler
su.
plo.
voice.
proto.
serializer
Mc
Game
Profile
Serializer
Packet
Serializer
Pos3d
Serializer
PlasmoVoice
/
su.plo.voice.api.util
/
AudioUtil
/
shortsToBytes
shorts
To
Bytes
open
fun
shortsToBytes
(
shorts
:
Array
<
Short
>
)
:
Array
<
Byte
>
Converts an array of shorts to an array of bytes.
Return
An array of bytes.
Parameters
shorts
The short array to convert.