| 47 | } |
| 48 | |
| 49 | inline void |
| 50 | playlist::QueueSongOrder(PlayerControl &pc, unsigned order) noexcept |
| 51 | |
| 52 | { |
| 53 | assert(queue.IsValidOrder(order)); |
| 54 | |
| 55 | queued = order; |
| 56 | |
| 57 | const DetachedSong &song = queue.GetOrder(order); |
| 58 | |
| 59 | FmtDebug(playlist_domain, "queue song {}:{:?}", |
| 60 | queued, song.GetURI()); |
| 61 | |
| 62 | pc.LockEnqueueSong(std::make_unique<DetachedSong>(song)); |
| 63 | } |
| 64 | |
| 65 | void |
| 66 | playlist::SongStarted() noexcept |
nothing calls this directly
no test coverage detected