Audacity  3.0.3
Macros | Typedefs | Functions | Variables
LoadLV2.cpp File Reference
#include "LoadLV2.h"
#include "../../ModuleManager.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <wx/dynlib.h>
#include <wx/filename.h>
#include <wx/log.h>
#include <wx/string.h>
#include "Internat.h"
#include "wxArrayStringEx.h"
#include "LV2Effect.h"
#include "lv2/event/event.h"
#include "lv2/instance-access/instance-access.h"
#include "lv2/port-groups/port-groups.h"
#include "lv2/port-props/port-props.h"
#include "lv2/uri-map/uri-map.h"
#include "lv2/presets/presets.h"
#include <unordered_map>
Include dependency graph for LoadLV2.cpp:

Go to the source code of this file.

Macros

#define NODE(n, u)   LV2Effect::node_##n = lilv_new_uri(gWorld, u);
 
#define URID(n, u)   LV2Effect::urid_##n = LV2Effect::Lookup_URI(LV2Effect::gURIDMap, u);
 
#define NODE(n, u)    lilv_node_free(LV2Effect::node_##n);
 

Typedefs

using UriHash = std::unordered_map< wxString, LilvNode * >
 

Functions

 DECLARE_MODULE_ENTRY (AudacityModule)
 
 DECLARE_BUILTIN_MODULE (LV2sEffectBuiltin)
 

Variables

LilvWorld * gWorld = NULL
 

Detailed Description

Functions that find and load all LV2 plugins on the system.

Definition in file LoadLV2.cpp.

Macro Definition Documentation

◆ NODE [1/2]

#define NODE (   n,
 
)    LV2Effect::node_##n = lilv_new_uri(gWorld, u);

◆ NODE [2/2]

#define NODE (   n,
 
)     lilv_node_free(LV2Effect::node_##n);

◆ URID

#define URID (   n,
 
)    LV2Effect::urid_##n = LV2Effect::Lookup_URI(LV2Effect::gURIDMap, u);

Typedef Documentation

◆ UriHash

using UriHash = std::unordered_map<wxString, LilvNode*>

Definition at line 77 of file LoadLV2.cpp.

Function Documentation

◆ DECLARE_BUILTIN_MODULE()

DECLARE_BUILTIN_MODULE ( LV2sEffectBuiltin  )

◆ DECLARE_MODULE_ENTRY()

DECLARE_MODULE_ENTRY ( AudacityModule  )

Definition at line 60 of file LoadLV2.cpp.

61 {
62  // Create and register the importer
63  // Trust the module manager not to leak this
64  return safenew LV2EffectsModule();
65 }

References safenew.

Variable Documentation

◆ gWorld

LilvWorld* gWorld = NULL
safenew
#define safenew
Definition: MemoryX.h:10
LV2EffectsModule
Definition: LoadLV2.h:164