File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ LV2_SYMBOL_EXPORT const LV2_Descriptor* lv2_descriptor(uint32_t index)
96
96
{
97
97
if (index == 0 ) {
98
98
// Turn on fast tanh approximation
99
- activations::Activation::enable_fast_tanh ();
99
+ nam:: activations::Activation::enable_fast_tanh ();
100
100
101
101
return &descriptor;
102
102
}
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ namespace NAM {
88
88
auto msg = static_cast <const LV2LoadModelMsg*>(data);
89
89
auto nam = static_cast <NAM::Plugin*>(instance);
90
90
91
- ::DSP* model = nullptr ;
91
+ nam ::DSP* model = nullptr ;
92
92
LV2SwitchModelMsg response = { kWorkTypeSwitch , {}, {} };
93
93
LV2_Worker_Status result = LV2_WORKER_SUCCESS;
94
94
@@ -107,7 +107,7 @@ namespace NAM {
107
107
{
108
108
lv2_log_trace (&nam->logger , " Staging model change: `%s`\n " , msg->path );
109
109
110
- model = get_dsp (msg->path ).release ();
110
+ model = nam:: get_dsp (msg->path ).release ();
111
111
112
112
// Pre-run model to ensure all needed buffers are allocated in advance
113
113
if (const int32_t numSamples = nam->maxBufferSize )
Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ namespace NAM {
43
43
struct LV2SwitchModelMsg {
44
44
LV2WorkType type;
45
45
char path[MAX_FILE_NAME];
46
- ::DSP* model;
46
+ nam ::DSP* model;
47
47
};
48
48
49
49
struct LV2FreeModelMsg {
50
50
LV2WorkType type;
51
- ::DSP* model;
51
+ nam ::DSP* model;
52
52
};
53
53
54
54
class Plugin {
@@ -70,7 +70,7 @@ namespace NAM {
70
70
LV2_Log_Logger logger = {};
71
71
LV2_Worker_Schedule* schedule = nullptr ;
72
72
73
- ::DSP* currentModel = nullptr ;
73
+ nam ::DSP* currentModel = nullptr ;
74
74
std::string currentModelPath;
75
75
float prevDCInput = 0 ;
76
76
float prevDCOutput = 0 ;
You can’t perform that action at this time.
0 commit comments