All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.lessvoid.nifty.sound.openal.slick.OggData Maven / Gradle / Ivy

Go to download

This is an OpenAL/lwjgl based SoundDevice for Nifty GUI. It was extracted out of Slick2D to be independent of the whole Slick2D library and to be used with none Slick2D based renderes. All credits for the original code go to Kevin Glass and all Slick2D contributers.

The newest version!
package de.lessvoid.nifty.sound.openal.slick;

import java.nio.ByteBuffer;

/**
 * Data describing the sounds in a OGG file
 *
 * @author Kevin Glass
 */
public class OggData {
  /**
   * The data that has been read from the OGG file
   */
  public ByteBuffer data;
  /**
   * The sampling rate
   */
  public int rate;
  /**
   * The number of channels in the sound file
   */
  public int channels;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy