public abstract class SoundSourceImpl extends java.lang.Object implements SoundSource
Constructor and Description |
---|
SoundSourceImpl() |
Modifier and Type | Method and Description |
---|---|
javax.sound.sampled.AudioFormat |
getAudioFormat() |
double |
getSampleRate() |
java.nio.ByteBuffer |
readBlock() |
abstract int |
readBlock(byte[] bytes) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, open
public java.nio.ByteBuffer readBlock() throws java.io.IOException
readBlock
in interface SoundSource
java.io.IOException
public abstract int readBlock(byte[] bytes) throws java.io.IOException
java.io.IOException
public double getSampleRate()
getSampleRate
in interface SoundSource
public javax.sound.sampled.AudioFormat getAudioFormat()
getAudioFormat
in interface SoundSource