|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--local.media.AudioOutput
AudioOutput allows the access of system audio output in pure-java manner. It uses the javax.sound library (package).
| Constructor Summary | |
AudioOutput()
Constructs an AudioOutput with audio_format=[8000 Hz, ULAW, 8bit, Mono] |
|
AudioOutput(javax.sound.sampled.AudioFormat audio_format)
Constructs an AudioOutput |
|
| Method Summary | |
static void |
closeAudioLine()
Closes the static system audio output line |
java.io.OutputStream |
getOuputStream()
Gets the audio OuputStream |
static void |
initAudioLine()
Init the static system audio output line |
void |
play()
Starts playing |
void |
stop()
Stops playing |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AudioOutput()
public AudioOutput(javax.sound.sampled.AudioFormat audio_format)
| Method Detail |
public static void initAudioLine()
public static void closeAudioLine()
public java.io.OutputStream getOuputStream()
public void play()
public void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||