Class SoundDevice

java.lang.Object
  extended by SoundDevice

public class SoundDevice
extends java.lang.Object


Field Summary
static int SAMPLING_RATE
          Sampling rate used.
 
Constructor Summary
SoundDevice()
          Constructs and starts the device.
 
Method Summary
 javax.sound.sampled.AudioFormat getFormat()
          Returns the AudioFormat used.
 javax.sound.sampled.SourceDataLine getLine()
          Returns the SourceDataLine on which to write music data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAMPLING_RATE

public static final int SAMPLING_RATE
Sampling rate used.

See Also:
Constant Field Values
Constructor Detail

SoundDevice

public SoundDevice()
Constructs and starts the device.

Method Detail

getLine

public javax.sound.sampled.SourceDataLine getLine()
Returns the SourceDataLine on which to write music data.


getFormat

public javax.sound.sampled.AudioFormat getFormat()
Returns the AudioFormat used.