Code example for SourceDataLine

Methods: available

0
		return dataLine.getLongFramePosition() * 2 / format.getChannels();
	} 
 
	@Override 
	public int available() { 
		return dataLine.available();
	} 
 
	@Override 
	public int getBufferSize() { 
		return dataLine.getBufferSize();
	} 
 
	@Override 
	public AudioFormat getFormat() {
		return format;
	} 
 
	@Override 
	public boolean isActive() {