• Max Kellermann's avatar
    playlist: implement Fisher-Yates shuffle properly · d8fc8ca7
    Max Kellermann authored
    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.
    d8fc8ca7
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...