Class AudioStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Direct Known Subclasses:
    FixedLengthAudioStream, URLAudioStream

    public abstract class AudioStream
    extends InputStream
    Wrapper for a source of audio data. In contrast to AudioSource, this is often a "one time use" instance for passing some audio data, but it is not meant to be registered as a service. The stream needs to be closed by the client that uses it.
    Harald Kuhn - Initial contribution, Kelly Davis - Modified to match discussion in #584, Kai Kreuzer - Refactored to be only a temporary instance for the stream
    • Constructor Detail

      • AudioStream

        public AudioStream()
    • Method Detail

      • getFormat

        public abstract AudioFormat getFormat()
        Gets the supported audio format
        The supported audio format