Code example for SourceDataLine

Methods: available

0
    public long playedFrames() { 
        return line.getLongFramePosition();
    } 
 
    public int available() { 
        return line.available();
    } 
 
    public int bufferSize() { 
        return line.getBufferSize();
    } 
 
    public void pause() { 
        line.stop();
    } 
 
    public void resume() { 
        line.start();
    }