def send_audio(buf, sequence, time)
      # Header of the audio packet
      header = [0x80, 0x78, sequence, time, @ssrc].pack('CCnNN')

      # Encrypt data, if necessary
      buf = encrypt_audio(header, buf) if encrypted?

      send_packet(header + buf)
    end
def send_audio(buf, sequence, time)
      # Header of the audio packet
      header = [0x80, 0x78, sequence, time, @ssrc].pack('CCnNN')

      # Encrypt data, if necessary
      buf = encrypt_audio(header, buf) if encrypted?

      send_packet(header + buf)
    end
Makes an audio packet from a buffer and sends it to Discord.
 @param buf [String] The audio data to send, must be exactly one Opus frame
 @param sequence [Integer] The packet sequence number, incremented by one for subsequent packets
 @param time [Integer] When this packet should be played back, in no particular unit (essentially just the
   sequence number multiplied by 960)