org.tritonus.sampled.mixer.alsa
Class AlsaBaseDataLine

java.lang.Object
  extended by org.tritonus.share.sampled.mixer.TLine
      extended by org.tritonus.share.sampled.mixer.TDataLine
          extended by org.tritonus.share.sampled.mixer.TBaseDataLine
              extended by org.tritonus.sampled.mixer.alsa.AlsaBaseDataLine
All Implemented Interfaces:
DataLine, Line
Direct Known Subclasses:
AlsaSourceDataLine, AlsaTargetDataLine

public abstract class AlsaBaseDataLine
extends TBaseDataLine


Nested Class Summary
 class AlsaBaseDataLine.AlsaBaseDataLineGainControl
           
 
Nested classes/interfaces inherited from interface javax.sound.sampled.DataLine
DataLine.Info
 
Constructor Summary
AlsaBaseDataLine(AlsaDataLineMixer mixer, DataLine.Info info)
           
AlsaBaseDataLine(AlsaDataLineMixer mixer, DataLine.Info info, java.util.Collection controls)
           
 
Method Summary
 int available()
           
 void drain()
           
 void flush()
           
 
Methods inherited from class org.tritonus.share.sampled.mixer.TBaseDataLine
open, open
 
Methods inherited from class org.tritonus.share.sampled.mixer.TDataLine
getBufferSize, getFormat, getFramePosition, getLevel, getLongFramePosition, getMicrosecondPosition, isActive, isRunning, start, stop
 
Methods inherited from class org.tritonus.share.sampled.mixer.TLine
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sound.sampled.Line
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener
 

Constructor Detail

AlsaBaseDataLine

public AlsaBaseDataLine(AlsaDataLineMixer mixer,
                        DataLine.Info info)
                 throws LineUnavailableException
Throws:
LineUnavailableException

AlsaBaseDataLine

public AlsaBaseDataLine(AlsaDataLineMixer mixer,
                        DataLine.Info info,
                        java.util.Collection controls)
                 throws LineUnavailableException
Throws:
LineUnavailableException
Method Detail

available

public int available()

drain

public void drain()

flush

public void flush()