create Audio Sender
abstract fun createAudioSender(frameProvider: AudioFrameProvider, distanceProvider: Supplier<Short>): AudioSender
Creates a new audio sender for this source.
Return
An audio sender.
Parameters
frame Provider
The audio frame provider.
distance Provider
The provider of the maximum distance at which players can hear the audio.
Creates a new audio sender for this source with fixed distance.
Return
An audio sender.
Parameters
frame Provider
The audio frame provider.
distance
The maximum distance at which players can hear the audio.