Frando / rust-faust

Easily use FAUST DSPs in Rust
Apache License 2.0
52 stars 11 forks source link

Box<> the DSP #9

Closed plule closed 2 years ago

plule commented 2 years ago

Wrap the DSP in a Box<>. Without this, any kind of temporal effect (echo, ...) will very quickly create a stack overflow

Jikstra commented 2 years ago

Don't know too much about Box, but seems to make sense. Thanks :)

plule commented 2 years ago

@Jikstra It's actually how it's done in Faust's architecture files https://github.com/grame-cncm/faust/blob/master-dev/architecture/jack.rs#L111 :)