Class ThincSMsgSoundOpen

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgSound
              extended by ThincSMsgSoundOpen

public final class ThincSMsgSoundOpen
extends ThincSMsgSound

class for getting the information for configuration of sound devices.

Author:
Young Jin Yoon
See Also:
ThincSMsgSound

Field Summary
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincSMsgSound
ENCODING, format, FRAME_RATE, playInfo, SAMPLE_SIZE, streamId
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgSoundOpen(ThincSoundHandler h)
          creates ThincSMsgSoundOpen object.
 
Method Summary
 void process()
          process() gets the rate, bits, channels and endian for sound device and set it into AudioFormat and DataLine.Info object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_TYPE

public static final int MESSAGE_TYPE
See Also:
Constant Field Values

MESSAGE_SIZE

public static final int MESSAGE_SIZE
See Also:
Constant Field Values
Constructor Detail

ThincSMsgSoundOpen

public ThincSMsgSoundOpen(ThincSoundHandler h)
creates ThincSMsgSoundOpen object.

Parameters:
h - ThincSoundHandler to handle the message
Method Detail

process

public void process()
             throws ThincException
process() gets the rate, bits, channels and endian for sound device and set it into AudioFormat and DataLine.Info object.

Specified by:
process in class ThincMsg
Throws:
ThincException