Browse Source

Add a few code comments

Signed-off-by: falkTX <falktx@falktx.com>
pull/330/head
falkTX 4 years ago
parent
commit
b3c3cd6448
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 28 additions and 0 deletions
  1. +14
    -0
      distrho/src/DistrhoPluginVST3.cpp
  2. +14
    -0
      distrho/src/DistrhoUIVST3.cpp

+ 14
- 0
distrho/src/DistrhoPluginVST3.cpp View File

@@ -219,6 +219,14 @@ static constexpr void (*const snprintf_u32_utf16)(int16_t*, uint32_t, size_t) =

// --------------------------------------------------------------------------------------------------------------------

/**
* VST3 DSP class.
*
* All the dynamic things from VST3 get implemented here, free of complex low-level VST3 pointer things.
* The DSP is created during the "initialise" component event, and destroyed during "terminate".
*
* The low-level VST3 stuff comes after.
*/
class PluginVst3
{
/* buses: we provide 1 for the main audio (if there is any) plus 1 for each sidechain or cv port.
@@ -1377,6 +1385,12 @@ private:

};

// --------------------------------------------------------------------------------------------------------------------

/**
* VST3 low-level pointer thingies follow, proceed with care.
*/

#if DISTRHO_PLUGIN_HAS_UI
// --------------------------------------------------------------------------------------------------------------------
// dpf_plugin_view_create (called from DSP side)


+ 14
- 0
distrho/src/DistrhoUIVST3.cpp View File

@@ -71,6 +71,14 @@ const char* tuid2str(const v3_tuid iid);

// --------------------------------------------------------------------------------------------------------------------

/**
* VST3 UI class.
*
* All the dynamic things from VST3 get implemented here, free of complex low-level VST3 pointer things.
* The UI is created during the "attach" view event, and destroyed during "removed".
*
* The low-level VST3 stuff comes after.
*/
class UIVst3 : public Thread
{
public:
@@ -293,6 +301,12 @@ private:
#endif
};

// --------------------------------------------------------------------------------------------------------------------

/**
* VST3 low-level pointer thingies follow, proceed with care.
*/

// --------------------------------------------------------------------------------------------------------------------
// dpf_plugin_view_content_scale



Loading…
Cancel
Save