Initialize SIMD in both synth ctors
This commit is contained in:
parent
d2362609a0
commit
db194be867
1 changed files with 2 additions and 1 deletions
|
|
@ -30,11 +30,12 @@
|
||||||
sfz::Synth::Synth()
|
sfz::Synth::Synth()
|
||||||
: Synth(config::numVoices)
|
: Synth(config::numVoices)
|
||||||
{
|
{
|
||||||
initializeSIMDDispatchers();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sfz::Synth::Synth(int numVoices)
|
sfz::Synth::Synth(int numVoices)
|
||||||
{
|
{
|
||||||
|
initializeSIMDDispatchers();
|
||||||
|
|
||||||
const std::lock_guard<SpinMutex> disableCallback { callbackGuard };
|
const std::lock_guard<SpinMutex> disableCallback { callbackGuard };
|
||||||
parser.setListener(this);
|
parser.setListener(this);
|
||||||
effectFactory.registerStandardEffectTypes();
|
effectFactory.registerStandardEffectTypes();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue