| 20 | ScrubQueue() {} |
| 21 | |
| 22 | void Init(double t0, |
| 23 | double rate, |
| 24 | const ScrubbingOptions &options) |
| 25 | { |
| 26 | mRate = rate; |
| 27 | mStartTime = t0; |
| 28 | const double t1 = options.bySpeed ? options.initSpeed : t0; |
| 29 | Update( t1, options ); |
| 30 | |
| 31 | mStarted = false; |
| 32 | mStopped = false; |
| 33 | mAccumulatedSeekDuration = 0; |
| 34 | } |
| 35 | |
| 36 | void Update(double end, const ScrubbingOptions &options) |
| 37 | { |
no test coverage detected