MCPcopy Create free account
hub / github.com/LMMS/lmms / getParameterDump

Method getParameterDump

plugins/vst_base/RemoteVstPlugin.cpp:1068–1086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1066
1067
1068void RemoteVstPlugin::getParameterDump()
1069{
1070 message m( IdVstParameterDump );
1071 m.addInt( m_plugin->numParams );
1072
1073 for( int i = 0; i < m_plugin->numParams; ++i )
1074 {
1075 char paramName[256];
1076 memset( paramName, 0, sizeof( paramName ) );
1077 pluginDispatch( effGetParamName, i, 0, paramName );
1078 paramName[sizeof(paramName)-1] = 0;
1079
1080 m.addInt( i );
1081 m.addString( paramName );
1082 m.addFloat( m_plugin->getParameter( m_plugin, i ) );
1083 }
1084
1085 sendMessage( m );
1086}
1087
1088
1089

Callers

nothing calls this directly

Calls 1

addStringMethod · 0.80

Tested by

no test coverage detected