Code example for SourceDataLine

Methods: getLevel

0
    // TODO - throw IAE for invalid frame size, format. 
  } 
 
  @Override public float getLevel () 
  { 
    return dataLine.getLevel();
  } 
 
  @Override public long getLongFramePosition () 
  { 
    return dataLine.getLongFramePosition() * 2 / format.getChannels();
  } 
 
  @Override public int available () 
  { 
    return dataLine.available();
  } 
 
  @Override public int getBufferSize () 
  {