Something went wrong on our end
Select Git revision
NativeAudio.java
NativeAudio.java 499 B
package de.tobias.playpad;
public class NativeAudio {
public static native void play(int id);
public static native void pause(int id);
public static native void stop(int id);
public static native double getVolume(int id);
public static native void setVolume(int id, double volume);
public static native void load(int id, String path);
public static native void dispose(int id);
public static native double getDuration(int id);
public static native double getPosition(int id);
}