Class Base64AudioFormat


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

      • Base64AudioFormat

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

      • 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.