Class AudioSource

Direct Known Subclasses:
BufferedAudioSource, StreamingAudioSource

public abstract class AudioSource extends FiniteSource
  • Field Details

    • resampler

      protected final Resampler resampler
    • buffer

      protected AudioBuffer buffer
    • position

      protected double position
  • Constructor Details

  • Method Details

    • renderInternal

      protected void renderInternal(AudioBuffer buffer)
      Specified by:
      renderInternal in class Source
    • isFinished

      public boolean isFinished()
      Specified by:
      isFinished in class FiniteSource
    • getFormat

      public FloatAudioFormat getFormat()
    • getRemainingFrameCount

      public int getRemainingFrameCount()
    • getRemainingMillisecondLength

      public float getRemainingMillisecondLength()
    • sampleRate

      public FloatParameter sampleRate()
    • pitch

      public FloatParameter pitch()
    • getSampleRate

      protected float getSampleRate()
    • setSampleRate

      protected void setSampleRate(float sampleRate)