javax.sound.sampled.Clip Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
package javax.sound.sampled;
import java.io.IOException;
@SuppressWarnings({"unused", "WeakerAccess"})
public interface Clip extends DataLine {
int LOOP_CONTINUOUSLY = -1;
void open(AudioFormat format, byte[] data, int offset, int bufferSize) throws LineUnavailableException;
void open(AudioInputStream stream) throws LineUnavailableException, IOException;
int getFrameLength();
long getMicrosecondLength();
void setFramePosition(int frames);
void setMicrosecondPosition(long microseconds);
void setLoopPoints(int start, int end);
void loop(int count);
}