AudioFilter

interface AudioFilter

Represents an audio filter that can modify audio data before it is played or transmitted.

Types

Link copied to clipboard
Represents the priority of the audio filter in execution.

Functions

Link copied to clipboard
@NotNull
abstract fun getName(): @NotNull String
Gets the name of the audio filter.
Link copied to clipboard
Gets the number of required device channels to process this filter.
Link copied to clipboard
abstract fun isEnabled(): Boolean
Checks if the audio filter is enabled.
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.