Interface PcmReader

All Known Subinterfaces:
Device.Tuner
All Known Implementing Classes:
Alsa.Tuner, LineTuner

public interface PcmReader
Audio reading interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Reads frames until buffer is full, input is exhausted, or the source is closed.
  • Method Details

    • read

      boolean read(ByteBuffer dest) throws IOException
      Reads frames until buffer is full, input is exhausted, or the source is closed. Returns false if input is exhausted, true if the source may provide more data.
      Throws:
      IOException