PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.client.audio.source
/
LoopbackSource
Loopback
Source
interface
LoopbackSource
Represents a client-only direct source.
Members
Functions
close
Link copied to clipboard
abstract
fun
close
(
)
Closes the loopback source, releasing any associated resources.
get
Source
Link copied to clipboard
@
NotNull
abstract
fun
getSource
(
)
:
@
NotNull
Optional
<
AlSource
>
Gets the source group associated with this loopback source.
initialize
Link copied to clipboard
abstract
fun
initialize
(
stereo
:
Boolean
)
Initializes the loopback source.
is
Closed
Link copied to clipboard
abstract
fun
isClosed
(
)
:
Boolean
Checks if the audio source is closed or not initialized.
is
Stereo
Link copied to clipboard
abstract
fun
isStereo
(
)
:
Boolean
Checks if the loopback source is initialized in stereo.
set
Volume
Entry
Link copied to clipboard
abstract
fun
setVolumeEntry
(
@
Nullable
entry
:
@
Nullable
DoubleConfigEntry
)
Configures the volume control for the loopback source.
write
Link copied to clipboard
abstract
fun
write
(
samples
:
Array
<
Short
>
)
Writes audio samples to the loopback source.