|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.icdif.audio.io.AudioDevice
public class AudioDevice
A class that allows the passage of PCM float data to the audio device
Constructor Summary | |
---|---|
AudioDevice()
Initializes the audio system |
Method Summary | |
---|---|
void |
playSamples(float[] samples)
Passes the samples to the soundcard that plays them. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AudioDevice() throws javax.sound.sampled.LineUnavailableException
javax.sound.sampled.LineUnavailableException
- when the audio is not availableMethod Detail |
---|
public void playSamples(float[] samples)
samples
- The Samples to play
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |