ServerSourceLine
Represents a server source line.
Server source lines used to create a server audio sources.
Properties
Functions
Link copied to clipboard
abstract fun createBroadcastSource(stereo: Boolean, decoderInfo: CodecInfo?, builder: Consumer<ServerBroadcastSource>): ServerBroadcastSource
Link copied to clipboard
open fun createDirectSource(player: VoicePlayer, stereo: Boolean, decoderInfo: CodecInfo?): ServerDirectSource
abstract fun createDirectSource(player: VoicePlayer, stereo: Boolean, decoderInfo: CodecInfo?, builder: Consumer<ServerDirectSource>): ServerDirectSource
Link copied to clipboard
open fun createEntitySource(entity: McServerEntity, stereo: Boolean = false, decoderInfo: CodecInfo? = OpusDecoderInfo()): ServerEntitySource
abstract fun createEntitySource(entity: McServerEntity, stereo: Boolean = false, decoderInfo: CodecInfo? = OpusDecoderInfo(), builder: Consumer<ServerEntitySource> = Consumer {}): ServerEntitySource
Creates a new entity source.
Link copied to clipboard
open fun createPlayerSource(player: VoiceServerPlayer, stereo: Boolean = false, decoderInfo: CodecInfo? = OpusDecoderInfo()): ServerPlayerSource
abstract fun createPlayerSource(player: VoiceServerPlayer, stereo: Boolean = false, decoderInfo: CodecInfo? = OpusDecoderInfo(), builder: Consumer<ServerPlayerSource> = Consumer {}): ServerPlayerSource
Creates a new player source.
Link copied to clipboard
open fun createStaticSource(position: ServerPos3d, stereo: Boolean = false, decoderInfo: CodecInfo? = OpusDecoderInfo()): ServerStaticSource
abstract fun createStaticSource(position: ServerPos3d, stereo: Boolean = false, decoderInfo: CodecInfo? = OpusDecoderInfo(), builder: Consumer<ServerStaticSource> = Consumer {}): ServerStaticSource
Creates a new static source.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard