javazoom.jl.player
public class JavaSoundAudioDevice extends AudioDeviceBase
JavaSoundAudioDevice
implements an audio
device by using the JavaSound API.
Since: 0.0.8
Method Summary | |
---|---|
protected void | closeImpl() |
protected void | createSource() |
protected void | flushImpl() |
protected AudioFormat | getAudioFormat() |
protected byte[] | getByteArray(int length) |
int | getPosition() |
protected Info | getSourceLineInfo() |
int | millisecondsToBytes(AudioFormat fmt, int time) |
void | open(AudioFormat fmt) |
protected void | openImpl() |
protected void | setAudioFormat(AudioFormat fmt0) |
void | test()
Runs a short test by playing a short silent sound. |
protected byte[] | toByteArray(short[] samples, int offs, int len) |
protected void | writeImpl(short[] samples, int offs, int len) |