| 123 | } |
| 124 | |
| 125 | void VideoController::PrevFrame() { |
| 126 | if (!provider || IsPlaying() || frame_n == 0) |
| 127 | return; |
| 128 | |
| 129 | JumpToFrame(frame_n - 1); |
| 130 | if (playAudioOnStep->GetBool()) |
| 131 | context->audioController->PlayRange(TimeRange(TimeAtFrame(frame_n), TimeAtFrame(frame_n + 1))); |
| 132 | } |
| 133 | |
| 134 | void VideoController::Play() { |
| 135 | if (IsPlaying()) { |
no test coverage detected