X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fanalysisthread.cpp;fp=src%2Fanalysisthread.cpp;h=2a909ae982aa52aac513e49fddf6fab09014f86e;hb=d4af988d8210a0d2c505d663fd7fa8f175a89d3b;hp=138da3ad75c874fa5998c41edd8d7fcc9ee4ed4c;hpb=98e7923e3e81d05395dbadf4c4f2fba137feeff1;p=wozmaker diff --git a/src/analysisthread.cpp b/src/analysisthread.cpp index 138da3a..2a909ae 100644 --- a/src/analysisthread.cpp +++ b/src/analysisthread.cpp @@ -53,7 +53,7 @@ void AnalysisThread::run() for(uint32_t i=0; i<141; i+=4) { SynthesizeTrack(i); - int a = random() & 0x03; + int a = rand() & 0x03; Global::trackStatus[i] = (a == 0 ? 3 : a); emit(ShowTracks()); } @@ -65,7 +65,7 @@ void AnalysisThread::run() continue; SynthesizeTrack(i); - int a = random() & 0x03; + int a = rand() & 0x03; Global::trackStatus[i] = (a == 0 ? 3 : a); emit(ShowTracks()); }