Fix segfault on VST plugin I/O change

This commit is contained in:
DomClark
2017-09-07 22:11:11 +01:00
committed by Oskar Wallgren
parent fe98a9aa43
commit 7429cb8155
3 changed files with 66 additions and 4 deletions

View File

@@ -481,6 +481,12 @@ bool RemotePlugin::processMessage( const message & _m )
resizeSharedProcessingMemory();
break;
case IdChangeInputOutputCount:
m_inputCount = _m.getInt( 0 );
m_outputCount = _m.getInt( 1 );
resizeSharedProcessingMemory();
break;
case IdDebugMessage:
fprintf( stderr, "RemotePlugin::DebugMessage: %s",
_m.getString( 0 ).c_str() );