aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-13 21:25:19 +0100
committerMax Kellermann <max@duempel.org>2009-01-13 21:25:19 +0100
commitd8fc8ca7bac8f378c4ff7bbc02f22a37ac72a792 (patch)
tree3622c4b00edf89f97852790151881e7d2336df56 /INSTALL
parente7c7e652a33ee143d183d8ba1916fe1bf0f3a980 (diff)
downloadmpd-d8fc8ca7bac8f378c4ff7bbc02f22a37ac72a792.tar.gz
mpd-d8fc8ca7bac8f378c4ff7bbc02f22a37ac72a792.tar.xz
mpd-d8fc8ca7bac8f378c4ff7bbc02f22a37ac72a792.zip
playlist: implement Fisher-Yates shuffle properly
MPD's shuffling algorithm was not implemented well: it considers songs which were already swapped, making it somewhat non-random. Fix the Fisher-Yates shuffle algorithm by passing the proper bounds to the PRNG.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions