Interface WavDecoder

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
ImaAdpcmDecoder, ImaAdpcmRsDecoder, Int24To16PcmDecoder, Int32To16PcmDecoder, LawDecoder, MsAdpcmDecoder, PcmDecoder

public interface WavDecoder extends Closeable
  • Method Details

    • setup

      void setup(InputStream stream, long streamLength)
    • inputBitsPerSample

      int inputBitsPerSample()
    • outputBitsPerSample

      int outputBitsPerSample()
    • outputChannels

      int outputChannels()
    • outputSampleRate

      int outputSampleRate()
    • outputTotalSamplesPerChannel

      long outputTotalSamplesPerChannel()
    • outputPcmDataType

      PcmFormat.PcmDataType outputPcmDataType()
    • blockAlign

      default int blockAlign()
    • blockSize

      default int blockSize()
    • bytesRemaining

      long bytesRemaining()
    • read

      int read(byte[] output) throws IOException
      Throws:
      IOException