mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-06-10 06:12:18 +02:00
Try to use atom:path to get model path
This commit is contained in:
+1
-6
@@ -48,12 +48,7 @@ static LV2_Handle instantiate(
|
||||
|
||||
static void connect_port(LV2_Handle instance, uint32_t port, void* data) {
|
||||
auto nam = static_cast<NAM::Plugin*>(instance);
|
||||
constexpr uint32_t misc_port_cnt = sizeof(nam->ports)/sizeof(void*);
|
||||
if (port >= misc_port_cnt)
|
||||
{
|
||||
}
|
||||
else
|
||||
*(reinterpret_cast<void**>(&nam->ports)+port) = data;
|
||||
*(reinterpret_cast<void**>(&nam->ports)+port) = data;
|
||||
}
|
||||
|
||||
static void activate(LV2_Handle) {}
|
||||
|
||||
Reference in New Issue
Block a user