ZynAddSubFX: initialize IO engine after setting up synth instance

This commit is contained in:
Tobias Doerffel
2014-02-18 20:28:13 +01:00
parent 71103a71ba
commit a5f21cf61b

View File

@@ -42,7 +42,7 @@ int LocalZynAddSubFx::s_instanceCount = 0;
LocalZynAddSubFx::LocalZynAddSubFx() :
m_master( NULL ),
m_ioEngine( new NulEngine )
m_ioEngine( NULL )
{
for( int i = 0; i < NumKeys; ++i )
{
@@ -74,6 +74,8 @@ LocalZynAddSubFx::LocalZynAddSubFx() :
++s_instanceCount;
m_ioEngine = new NulEngine;
m_master = new Master();
m_master->swaplr = 0;
}