Code example for SourceDataLine

Methods: stopclose

0
            throw new RuntimeException(ex);
        } 
    } 
 
    public void close() { 
        line.stop();
        line.close();
    } 
 
    public long playedMs() { 
        return line.getMicrosecondPosition();
    } 
 
    public long playedFrames() { 
        return line.getLongFramePosition();
    } 
 
    public int available() { 
        return line.available();
    } 
Connect your IDE to all the code out there  Get Codota for Java