Add Buffer component

This commit is contained in:
Adam Gausmann 2026-10-01 19:05:32 -05:00
parent a341491bf8
commit a0948315be

View file

@ -123,3 +123,19 @@ impl From<Peg> for ComponentBuilder<'static> {
peg.build()
}
}
pub struct Buffer {
_private: (),
}
impl Buffer {
pub fn new() -> Self {
Self { _private: () }
}
pub fn build(self) -> ComponentBuilder<'static> {
ComponentBuilder::new("MHG.Buffer_WithOutput")
.num_inputs(1)
.num_outputs(1)
}
}