| 132 | } |
| 133 | |
| 134 | void VideoController::Play() { |
| 135 | if (IsPlaying()) { |
| 136 | Stop(); |
| 137 | return; |
| 138 | } |
| 139 | |
| 140 | if (!provider) return; |
| 141 | |
| 142 | start_ms = TimeAtFrame(frame_n); |
| 143 | end_frame = provider->GetFrameCount() - 1; |
| 144 | |
| 145 | context->audioController->PlayToEnd(start_ms); |
| 146 | |
| 147 | playback_start_time = std::chrono::steady_clock::now(); |
| 148 | playback.Start(10); |
| 149 | } |
| 150 | |
| 151 | void VideoController::PlayLine() { |
| 152 | Stop(); |
nothing calls this directly
no test coverage detected