Class Base64AudioFormat

java.lang.Object
ej.audio.AudioFormat
ej.audio.format.Base64AudioFormat

public class Base64AudioFormat extends AudioFormat
AudioFormat which represents the format of an audio sink with the Base64 encoding.
  • Constructor Details

    • Base64AudioFormat

      public Base64AudioFormat(AudioFormat wrappedFormat)
      Creates a Base64 audio format that wraps the given audio format.
      Parameters:
      wrappedFormat - the wrapped audio format.
  • Method Details

    • getEncoding

      public String getEncoding()
      Description copied from class: AudioFormat
      Returns the data format of an audio stream.
      Specified by:
      getEncoding in class AudioFormat
      Returns:
      the encoding format string.
    • getParameters

      public int[] getParameters()
      Description copied from class: AudioFormat
      Returns the parameters of this audio format.

      The parameters depend on the encoding. The semantics of every parameter is known by the low-level audio implementation.

      Specified by:
      getParameters in class AudioFormat
      Returns:
      the parameters.