Update vstmain.cpp
code style changes
This commit is contained in:
parent
0febf79421
commit
2c9d0f5910
1 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
/******************************************************************************\
|
/******************************************************************************\
|
||||||
* Copyright (c) 2004-2011
|
* Copyright (c) 2004-2019
|
||||||
*
|
*
|
||||||
* Author(s):
|
* Author(s):
|
||||||
* Volker Fischer
|
* Volker Fischer
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
// this function is required for host to get plugin
|
// this function is required for host to get plugin
|
||||||
AudioEffect* createEffectInstance ( audioMasterCallback AudioMaster )
|
AudioEffect* createEffectInstance ( audioMasterCallback AudioMaster )
|
||||||
{
|
{
|
||||||
return new CLlconVST ( AudioMaster );
|
return new CLlconVST ( AudioMaster );
|
||||||
}
|
}
|
||||||
|
|
||||||
CLlconVST::CLlconVST ( audioMasterCallback AudioMaster ) :
|
CLlconVST::CLlconVST ( audioMasterCallback AudioMaster ) :
|
||||||
|
@ -37,13 +37,13 @@ CLlconVST::CLlconVST ( audioMasterCallback AudioMaster ) :
|
||||||
Client ( LLCON_DEFAULT_PORT_NUMBER )
|
Client ( LLCON_DEFAULT_PORT_NUMBER )
|
||||||
{
|
{
|
||||||
// stereo input/output
|
// stereo input/output
|
||||||
setNumInputs ( 2 );
|
setNumInputs ( 2 );
|
||||||
setNumOutputs ( 2 );
|
setNumOutputs ( 2 );
|
||||||
|
|
||||||
setUniqueID ( 'Llco' );
|
setUniqueID ( 'Llco' );
|
||||||
|
|
||||||
// capabilities of llcon VST plugin
|
// capabilities of llcon VST plugin
|
||||||
canProcessReplacing(); // supports replacing output
|
canProcessReplacing(); // supports replacing output
|
||||||
|
|
||||||
// set default program name
|
// set default program name
|
||||||
GetName ( strProgName );
|
GetName ( strProgName );
|
||||||
|
@ -65,8 +65,8 @@ bool CLlconVST::GetName ( char* cName )
|
||||||
{
|
{
|
||||||
// this name is used for program name, effect name, product string and
|
// this name is used for program name, effect name, product string and
|
||||||
// vendor string
|
// vendor string
|
||||||
vst_strncpy ( cName, "Llcon", kVstMaxEffectNameLen );
|
vst_strncpy ( cName, "Llcon", kVstMaxEffectNameLen );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CLlconVST::OnTimerOnOff()
|
void CLlconVST::OnTimerOnOff()
|
||||||
|
|
Loading…
Reference in a new issue