MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / GetLight

Method GetLight

src/queue/Queue.cxx:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26LightSong
27Queue::GetLight(unsigned position) const noexcept
28{
29 assert(position < length);
30
31 LightSong song{Get(position)};
32 song.priority = GetPriorityAtPosition(position);
33 return song;
34}
35
36int
37Queue::GetNextOrder(unsigned _order) const noexcept

Callers 1

MatchPositionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected