Class FixedLengthAudioStream

    • Constructor Detail

      • FixedLengthAudioStream

        public FixedLengthAudioStream()
    • Method Detail

      • length

        public abstract long length()
        Provides the length of the stream in bytes.
        absolute length in bytes
      • getClonedStream

        public abstract InputStream getClonedStream()
                                             throws AudioException
        Returns a new, fully independent stream instance, which can be read and closed without impacting the original instance.
        a new input stream that can be consumed by the caller
        AudioException - if stream cannot be created