| 132 | } |
| 133 | |
| 134 | void PlaybackEngine::play() { |
| 135 | if (playing_) { |
| 136 | return; |
| 137 | } |
| 138 | playing_ = true; |
| 139 | elapsed_.restart(); |
| 140 | timer_.start(); |
| 141 | emit playingChanged(playing_); |
| 142 | } |
| 143 | |
| 144 | void PlaybackEngine::pause() { |
| 145 | if (!playing_) { |
no test coverage detected