Class RadioSource

java.lang.Object
com.codinglitch.simpleradio.radio.RadioSource
All Implemented Interfaces:
Source

public class RadioSource extends Object implements Source
  • Field Details

    • data

      public byte[] data
    • decoded

      public short[] decoded
    • sound

      public String sound
  • Constructor Details

    • RadioSource

      public RadioSource(byte[] data)
    • RadioSource

      public RadioSource(short[] pcm)
    • RadioSource

      public RadioSource(String sound)
  • Method Details

    • getDecoder

      public static de.maxhenkel.voicechat.api.opus.OpusDecoder getDecoder(UUID id)
    • getData

      public byte[] getData()
      Specified by:
      getData in interface Source
    • getDecoded

      public short[] getDecoded(UUID id)
      Specified by:
      getDecoded in interface Source
    • getSoundEvent

      public net.minecraft.sounds.SoundEvent getSoundEvent()
      Specified by:
      getSoundEvent in interface Source
    • getSound

      public String getSound()
      Specified by:
      getSound in interface Source