|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--local.media.AudioInput
AudioInput allows the access of system audio input in pure-java manner. It uses the javax.sound library (package).
| Constructor Summary | |
AudioInput()
Constructs an AudioInput with audio_format=[8000 Hz, ULAW, 8bit, Mono] |
|
AudioInput(javax.sound.sampled.AudioFormat audio_format)
Constructs an AudioInput |
|
| Method Summary | |
static void |
closeAudioLine()
Closes the static system audio input line |
java.io.InputStream |
getInputStream()
Gets the audio InputStream |
static void |
initAudioLine()
Inits the static system audio input 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 AudioInput()
public AudioInput(javax.sound.sampled.AudioFormat audio_format)
| Method Detail |
public static void initAudioLine()
public static void closeAudioLine()
public java.io.InputStream getInputStream()
public void play()
public void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||