pub unsafe extern "C" fn Bela_requestStop()Expand description
\brief Tell the Bela program to stop.
This can be safely called anywhere in the code to tell the audio thread, and all threads monitoring Bela_stopRequested() that they should stop at the earliest occasion. The program will not stop immediately. If the render() function is currently running, it will keep running until it concludes its current execution, but will not be called again. The program’s execution will stop when all threads have completed their execution. For this reason, all threads should check for Bela_stopRequested() to be notified when Bela_requestStop() has been called.