More like not this:BachRules wrote:I see now what you mean. They'd need this:Mayae wrote:No, a bug in the plugin. The situation i wrote is exactly the same as JCJR.BachRules wrote:Maybe you are suggesting a bug in Reaper (the host)? That would be technically possible, but I think unlikely, because they guys making Reaper seem very competent.Mayae wrote:It could sound like the plugin is rendering multi-threaded, and the threads can't keep up somehow, causing buffer underruns - possibly caused by the host offline rendering in threads as well, causing less time per thread..
It's still no excuse though, threads should be synced obviously.
Code: Select all
if Offline then Wait;
Code: Select all
float buffer[7.1][HUGE_NUM][64-bit];
void do_wurk_thread1()
{
static int phase;
// 3 ghz processor means this will run 3 billion times a sec LOL
for (auto & sample : buffer)
buffer[rand()][phase] = sin(phase++);
}
void do_wurk_thread2()
{
...
}
void processReplacing(float ** in, float ** out, int frames)
{
for (int i = 0; i < frames; ++i)
{
// lol new processors so fast with many cores, ofc threads will always be ahead
out[0][i] = in[0][i] + buffer[i][y][z];
...
}
}