| 631 | } |
| 632 | |
| 633 | void PlaybackController::currentSelectedItemsDoubleBufferLoad(int itemID) |
| 634 | { |
| 635 | assert(itemID == 0 || itemID == 1); |
| 636 | if (this->playbackMode == PlaybackMode::Stalled) |
| 637 | { |
| 638 | this->waitingForItem[itemID] = false; |
| 639 | if (!this->waitingForItem[0] && !this->waitingForItem[1]) |
| 640 | { |
| 641 | DEBUG_PLAYBACK( |
| 642 | "PlaybackController::currentSelectedItemsDoubleBufferLoad - timer interval %dms", |
| 643 | this->timerInterval.count()); |
| 644 | this->timer.start(this->timerInterval.count(), Qt::PreciseTimer, this); |
| 645 | this->timerEvent(nullptr); |
| 646 | this->playbackMode = PlaybackMode::Running; |
| 647 | } |
| 648 | } |
| 649 | } |
| 650 | |
| 651 | bool PlaybackController::setCurrentFrameAndUpdate(int frame, bool updateView) |
| 652 | { |
nothing calls this directly
no test coverage detected