java.lang.Object
games.stendhal.client.sound.system.SignalProcessor
games.stendhal.client.sound.system.processors.ReSampler

public class ReSampler extends SignalProcessor
Sound processor stage to re-sample audio signals using another sample rate.
Author:
silvio
  • Method Details

    • modify

      protected void modify(float[] data, int frames, int channels, int rate)
      Modify the PCM audio stream. The audio data is uniform and interleaved.
      Overrides:
      modify in class SignalProcessor
      Parameters:
      data - the audio data
      frames - the number of sample frames contained in "data"
      channels - number of channels
      rate - the sample rate