public void setMBPerSec(double mbPerSec) {this.mbPerSec = mbPerSec;minPauseCheckBytes = (long) ((MIN_PAUSE_CHECK_MSEC / 1000.0) * mbPerSec * 1024 * 1024);}
public override void SetMbPerSec(double mbPerSec){this.mbPerSec = mbPerSec;if (mbPerSec == 0)nsPerByte = 0;elsensPerByte = 1000000000.0 / (1024 * 1024 * mbPerSec);}