Hello, I started other thread about updating Label text with data from getNextAudioBlock. But the thread developed to multiprocessing, that’s why I move it here for further questions
But to the point. So if I have code like that:
void parentFunction(dataFromGetNextAudioBlock) { someInt++; if(someInt>=someOtherInt) { someInt=0; // And here I would like to make immedietly some childFunction, but I want make parentFunction be independent from childFunctio, I mean parentFunction is still working. } }
For that scenario shouldI just put startTimer(1); and in the timerCallBack put my childFunction? Or is there anything better to do. I would like to notice startTimer(1); gives me 0,001 second late, which is a lot of time for the processor, so it’s not “immedietaly”. That’s why I ask for any better solution.