Skip to content

Commit

Permalink
support Moddevices CV port (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctsexton authored Oct 6, 2023
1 parent a77cc71 commit 9ffcecb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ impl World {
&& class != common_uris.control_port_uri
&& class != common_uris.atom_port_uri
&& class != common_uris.cv_port_uri
&& class != common_uris.mod_cv_port_uri
{
error!("Port class {:?} is not supported.", class);
return false;
Expand Down Expand Up @@ -240,6 +241,7 @@ struct CommonUris {
audio_port_uri: lilv::node::Node,
atom_port_uri: lilv::node::Node,
cv_port_uri: lilv::node::Node,
mod_cv_port_uri: lilv::node::Node,
worker_schedule_feature_uri: lilv::node::Node,
}

Expand All @@ -252,6 +254,7 @@ impl CommonUris {
audio_port_uri: world.new_uri("http://lv2plug.in/ns/lv2core#AudioPort"),
atom_port_uri: world.new_uri("http://lv2plug.in/ns/ext/atom#AtomPort"),
cv_port_uri: world.new_uri("http://lv2plug.in/ns/lv2core#CVPort"),
mod_cv_port_uri: world.new_uri("http://moddevices.com/ns/mod#CVPort"),
worker_schedule_feature_uri: world.new_uri("http://lv2plug.in/ns/ext/worker#schedule"),
}
}
Expand Down

0 comments on commit 9ffcecb

Please sign in to comment.