diff --git a/src/PLAYER.cpp b/src/PLAYER.cpp index 97e53c3..8a764ce 100644 --- a/src/PLAYER.cpp +++ b/src/PLAYER.cpp @@ -6,7 +6,7 @@ #include "cmath" //#include #include - +#include //#ifndef WIN32 @@ -139,6 +139,13 @@ void PLAYER::loadSample(std::string path) { } } + + sort(fichier.begin(), fichier.end()); // Linux and OSX needs this to get files in right order + for (int o=0;o