Code example for SourceDataLine

Methods: getLongFramePosition

0
    return dataLine.getLevel();
  } 
 
  @Override public long getLongFramePosition () 
  { 
    return dataLine.getLongFramePosition() * 2 / format.getChannels();
  } 
 
  @Override public int available () 
  { 
    return dataLine.available();
  } 
 
  @Override public int getBufferSize () 
  { 
    return dataLine.getBufferSize();
  } 
 
  @Override public AudioFormat getFormat ()
  { 
Connect your IDE to all the code out there  Get Codota for Java