| 214 | } |
| 215 | |
| 216 | void |
| 217 | PlayerControl::LockEnqueueSong(std::unique_ptr<DetachedSong> song) noexcept |
| 218 | { |
| 219 | assert(thread.IsDefined()); |
| 220 | assert(song != nullptr); |
| 221 | |
| 222 | std::unique_lock lock{mutex}; |
| 223 | EnqueueSongLocked(lock, std::move(song)); |
| 224 | } |
| 225 | |
| 226 | void |
| 227 | PlayerControl::EnqueueSongLocked(std::unique_lock<Mutex> &lock, |
no test coverage detected