| 114 | } |
| 115 | |
| 116 | void VideoController::NextFrame() { |
| 117 | if (!provider || IsPlaying() || frame_n == provider->GetFrameCount()) |
| 118 | return; |
| 119 | |
| 120 | JumpToFrame(frame_n + 1); |
| 121 | if (playAudioOnStep->GetBool()) |
| 122 | context->audioController->PlayRange(TimeRange(TimeAtFrame(frame_n - 1), TimeAtFrame(frame_n))); |
| 123 | } |
| 124 | |
| 125 | void VideoController::PrevFrame() { |
| 126 | if (!provider || IsPlaying() || frame_n == 0) |
no test coverage detected