Code example for SourceDataLine

Methods: removeLineListener

0
    dataLine.drain();
  } 
 
  @Override public void removeLineListener (LineListener listener)
  { 
    dataLine.removeLineListener(listener);
  } 
 
  @Override public void addLineListener (LineListener listener)
  { 
    dataLine.addLineListener(listener);
  } 
 
  @Override public Control getControl (Control.Type control)
  { 
    return dataLine.getControl(control);
  } 
 
  @Override public Control[] getControls ()
  {