Class RadioSource
java.lang.Object
com.codinglitch.simpleradio.radio.RadioSource
- All Implemented Interfaces:
Source
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()short[]getDecoded(UUID id) static de.maxhenkel.voicechat.api.opus.OpusDecodergetDecoder(UUID id) getSound()net.minecraft.sounds.SoundEvent
-
Field Details
-
data
public byte[] data -
decoded
public short[] decoded -
sound
-
-
Constructor Details
-
RadioSource
public RadioSource(byte[] data) -
RadioSource
public RadioSource(short[] pcm) -
RadioSource
-
-
Method Details
-
getDecoder
-
getData
public byte[] getData() -
getDecoded
- Specified by:
getDecodedin interfaceSource
-
getSoundEvent
public net.minecraft.sounds.SoundEvent getSoundEvent()- Specified by:
getSoundEventin interfaceSource
-
getSound
-