urv.util.audio
Class Capture

java.lang.Object
  extended by urv.util.audio.Capture
All Implemented Interfaces:
java.lang.Runnable

 class Capture
extends java.lang.Object
implements java.lang.Runnable

Reads data from the input channel and writes to the output stream


Field Summary
(package private)  javax.sound.sampled.AudioInputStream audioInputStream
           
(package private)  MChannel channel
           
(package private)  java.lang.String channelId
           
(package private)  java.net.InetAddress destAddr
           
(package private)  javax.sound.sampled.TargetDataLine line
           
(package private)  java.lang.Thread thread
           
 
Constructor Summary
Capture()
           
 
Method Summary
 void run()
           
 void start(MChannel channel, java.lang.String channelId, java.lang.String address)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

line

javax.sound.sampled.TargetDataLine line

thread

java.lang.Thread thread

audioInputStream

javax.sound.sampled.AudioInputStream audioInputStream

channel

MChannel channel

channelId

java.lang.String channelId

destAddr

java.net.InetAddress destAddr
Constructor Detail

Capture

Capture()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

start

public void start(MChannel channel,
                  java.lang.String channelId,
                  java.lang.String address)

stop

public void stop()