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

javax.sound.sampled.Clip Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

There is a newer version: 0.6.8
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy