Code example for SourceDataLine

Methods: addLineListener

0
		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() {
		if (dataLine == null) {
			return new Control[0];
		} else { 
			return dataLine.getControls();
		} 
Connect your IDE to all the code out there  Get Codota for Java