Fix crash on close, do not setup worker threads
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
ff5f9f6285
commit
86fbd84cf6
3 changed files with 29 additions and 4 deletions
|
@ -108,5 +108,16 @@ int main()
|
|||
i+1, q->name.c_str(), q->getDescription().c_str(), q->unit.c_str(),
|
||||
q->minValue, q->maxValue, q->defaultValue);
|
||||
}
|
||||
|
||||
Module::ProcessArgs args = {
|
||||
48000.0f,
|
||||
1.0f / 48000.0f,
|
||||
0
|
||||
};
|
||||
for (int i=0; i<96000; ++i)
|
||||
{
|
||||
module->process(args);
|
||||
++args.frame;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue