diff --git a/docs/amp/eg-amp-rs.lv2/amp.ttl b/docs/amp/eg-amp-rs.lv2/amp.ttl index af6fdb60..145d314d 100644 --- a/docs/amp/eg-amp-rs.lv2/amp.ttl +++ b/docs/amp/eg-amp-rs.lv2/amp.ttl @@ -23,8 +23,6 @@ # Every plugin must have a name, described with the doap:name property. doap:name "Simple Amplifier (Rust Version)" ; doap:license ; -# This tells the host that this plugin can not work "in-place"; The input and output buffers may not be the same. This plugin could technically work "in-place", but it would mean that the plugin would receive a mutable and an immutable reference to the same place in memory, which obviously isn't allowed in Rust. - lv2:requiredFeature lv2:inPlaceBroken ; lv2:optionalFeature lv2:hardRTCapable ; lv2:port [ # Every port must have at least two types, one that specifies direction diff --git a/docs/amp/src/lib.rs b/docs/amp/src/lib.rs index 1e58657c..1c2adb49 100644 --- a/docs/amp/src/lib.rs +++ b/docs/amp/src/lib.rs @@ -3,9 +3,9 @@ use lv2::prelude::*; // Most useful plugins will have ports for input and output data. In code, these ports are represented by a struct implementing the `PortCollection` trait. Internally, ports are referred to by index. These indices are assigned in ascending order, starting with 0 for the first port. The indices in `amp.ttl` have to match them. #[derive(PortCollection)] struct Ports { - gain: InputPort, - input: InputPort