VoiceInfo

interface VoiceInfo

Represents voice-related information of the connected server.

Functions

Link copied to clipboard
@NotNull
abstract fun createFormat(stereo: Boolean): @NotNull AudioFormat
Creates an audio format with a fixed sample size of 16 bits.
Link copied to clipboard
@NotNull
abstract fun getActivations(): @NotNull Collection<Activation>
Gets the voice activations.
Link copied to clipboard
@NotNull
abstract fun getCaptureInfo(): @NotNull CaptureInfo
Gets the voice capture information.
Link copied to clipboard
abstract fun getFrameSize(): Int
Gets the 20ms frame size (in shorts) based on sample rate.
Link copied to clipboard
@NotNull
abstract fun getSourceLines(): @NotNull Collection<SourceLine>
Gets the voice source lines.