Files
mpv/common
Niklas Haas b9c48ca8f3 playlist: improve shuffle algorithm
The old algorithm produced results which were not uniformly distributed,
i.e. some particular shuffles were preferred over others.

The new algorithm is an implementation of the Fisher-Yates shuffle which
is guaranteed to shuffle uniformly given a sufficiently uniform rand()
and ignoring potential floating-point errors.

Signed-off-by: wm4 <wm4@nowhere>
2016-03-20 19:51:22 +01:00
..
2016-03-01 21:46:57 +01:00
2016-03-01 22:03:45 +01:00
2013-12-21 21:43:16 +01:00
2016-02-10 21:29:36 +01:00
2015-04-13 12:10:01 +02:00
2014-06-11 02:05:07 +02:00
2015-04-13 12:10:01 +02:00
2016-03-20 19:51:22 +01:00