MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getRate

Method getRate

src/test/Test_Video.java:670–680  ·  view source on GitHub ↗
(int n)

Source from the content-addressed store, hash-verified

668 private int pt;
669
670 protected void getRate(int n) {
671 results = new double[n];
672 pt = 0;
673 buffer = null;
674 expanding = true;
675 curTime0 = curTime = HTML5Video.getCurrentTime(jsvideo);
676 ds = frameDur / 2 + 0.001;
677 frameDur = 0;
678 listener = HTML5Video.addActionListener(jsvideo, this, "canplaythrough");
679 HTML5Video.setCurrentTime(jsvideo, curTime);
680 }
681
682 byte[] buffer, buffer0;
683

Callers

nothing calls this directly

Calls 3

getCurrentTimeMethod · 0.95
addActionListenerMethod · 0.95
setCurrentTimeMethod · 0.95

Tested by

no test coverage detected