Interface AudioDecoder.Target

All Superinterfaces:
AutoCloseable, Closeable, PcmWriter
Enclosing interface:
AudioDecoder

public static interface AudioDecoder.Target extends PcmWriter
Interface for the destination of an audio decoder.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    metadata(PcmFormat format, long totalFrames)
    Makes the writer ready to recieve data in the given format, and gives the intended full length of the input if available, otherwise supplying AudioSystem.NOT_SPECIFIED.

    Methods inherited from interface net.avadeaux.klipspringer.codec.PcmWriter

    close, write
  • Method Details

    • metadata

      void metadata(PcmFormat format, long totalFrames) throws IOException
      Makes the writer ready to recieve data in the given format, and gives the intended full length of the input if available, otherwise supplying AudioSystem.NOT_SPECIFIED. This method is to be called once per target.
      Throws:
      IOException