Пример #1
0
IPlugProcess::IPlugProcess(OSType type)
  : mCustomUI(0)
  , mView(0)
  , mModuleHandle(0)
  , mPlug(NULL)
  , mDirectMidiInterface(NULL)
  , mPluginID(type)
  , mLeftOffset(0)
  , mTopOffset(0)
{
  TRACE;

  mPluginWinRect.top = 0;
  mPluginWinRect.left = 0;
  mPluginWinRect.bottom = 0;
  mPluginWinRect.right = 0;
#if WINDOWS_VERSION
  mModuleHandle = (void*) gThisModule;  // extern from DLLMain.cpp; HINSTANCE of the DLL
#else
  mModuleHandle = 0;
#endif

  mPlug = MakePlug();
}
Пример #2
0
AAX_CEffectParameters *AAX_CALLBACK IPlugAAX::Create()
{
  return MakePlug();
}