diff options
author | Max Kellermann <max@duempel.org> | 2009-01-23 00:08:40 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-23 00:08:40 +0100 |
commit | 3a1de741bbb8cf412a72d53793d205a139c101ac (patch) | |
tree | 434675ff438787592d7f9abe14496bf0dcbb1906 /src/main.c | |
parent | fb2ef107d1b43d5ba34918059113ec68293d379e (diff) | |
download | mpd-3a1de741bbb8cf412a72d53793d205a139c101ac.tar.gz mpd-3a1de741bbb8cf412a72d53793d205a139c101ac.tar.xz mpd-3a1de741bbb8cf412a72d53793d205a139c101ac.zip |
queue: added queue_shuffle_order()
The function shuffles the virtual order of songs, but does not move
them physically. This is used in random mode.
The new function replaces playlist.c's randomizeOrder() function,
which was aware of playlist.current and playlist.queued. The latter
is always -1 anyway, and the former as preserved by the caller, by
converting playlist.current to a position, and then back to an order
number.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions