protected AbstractDataLine(DataLine.Info info,AbstractMixer mixer,Control[] controls,AudioFormat format,int bufferSize){
  super(info,mixer,controls);
  if (format != null) {
    defaultFormat=format;
  }
 else {
    defaultFormat=new AudioFormat(44100.0f,16,2,true,Platform.isBigEndian());
  }
  if (bufferSize > 0) {
    defaultBufferSize=bufferSize;
  }
 else {
    defaultBufferSize=((int)(defaultFormat.getFrameRate() / 2)) * defaultFormat.getFrameSize();
  }
  this.format=defaultFormat;
  this.bufferSize=defaultBufferSize;
}

protected AbstractDataLine ( DataLine . Info info , AbstractMixer mixer , Control [ ] controls , AudioFormat format , int bufferSize ) { super ( info , mixer , controls ) ; if ( format != null ) { defaultFormat = format ; } else { defaultFormat = new AudioFormat ( 44100.0f , 16 , 2 , true , Platform . isBigEndian ( ) ) ; } if ( bufferSize > 0 ) { defaultBufferSize = bufferSize ; } else { defaultBufferSize = ( ( int ) ( defaultFormat . getFrameRate ( ) / 2 ) ) * defaultFormat . getFrameSize ( ) ; } this . format = defaultFormat ; this . bufferSize = defaultBufferSize ; }
constructs a new abstractline .
