Audacity 3.2.0
Public Member Functions | List of all members
VSTSubEntry Class Referencefinal
Inheritance diagram for VSTSubEntry:
[legend]
Collaboration diagram for VSTSubEntry:
[legend]

Public Member Functions

bool OnInit ()
 
void OnExit ()
 

Detailed Description

Auto created at program start up, this initialises VST.

Definition at line 168 of file VSTEffect.cpp.

Member Function Documentation

◆ OnExit()

void VSTSubEntry::OnExit ( void  )
inline

Definition at line 193 of file VSTEffect.cpp.

193{};

◆ OnInit()

bool VSTSubEntry::OnInit ( )
inline

Definition at line 171 of file VSTEffect.cpp.

172 {
173 // Have we been started to check a plugin?
174 if (wxTheApp && wxTheApp->argc == 3 && wxStrcmp(wxTheApp->argv[1], VSTCMDKEY) == 0)
175 {
176 // NOTE: This can really hide failures, which is what we want for those pesky
177 // VSTs that are bad or that our support isn't correct. But, it can also
178 // hide Audacity failures in the subprocess, so if you're having an unruley
179 // VST or odd Audacity failures, comment it out and you might get more info.
180 //wxHandleFatalExceptions();
181 VSTEffectsModule::Check(wxTheApp->argv[2]);
182
183 // Returning false causes default processing to display a message box, but we don't
184 // want that so disable logging.
185 wxLog::EnableLogging(false);
186
187 return false;
188 }
189
190 return true;
191 };
#define VSTCMDKEY
Definition: VSTEffect.h:33
static void Check(const wxChar *path)
Definition: VSTEffect.cpp:705

References VSTEffectsModule::Check(), and VSTCMDKEY.

Here is the call graph for this function:

The documentation for this class was generated from the following file: