PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.client.audio.filter
/
AudioFilter
Audio
Filter
interface
AudioFilter
Represents an audio filter that can modify audio data before it is played or transmitted.
Members
Types
Priority
Link copied to clipboard
enum
Priority
Represents the priority of the audio filter in execution.
Functions
get
Name
Link copied to clipboard
@
NotNull
abstract
fun
getName
(
)
:
@
NotNull
String
Gets the name of the audio filter.
get
Supported
Channels
Link copied to clipboard
open
fun
getSupportedChannels
(
)
:
Int
Gets the number of required device channels to process this filter.
is
Enabled
Link copied to clipboard
abstract
fun
isEnabled
(
)
:
Boolean
Checks if the audio filter is enabled.
process
Link copied to clipboard
abstract
fun
process
(
@
NotNull
context
:
@
NotNull
AudioFilterContext
,
samples
:
Array
<
Short
>
)
:
Array
<
Short
>
Processes the audio filter on the given audio samples.