Frando / rust-faust

Easily use FAUST DSPs in Rust
Apache License 2.0
56 stars 12 forks source link

Add the ability to initialize the DspHandle from the dsp #14

Closed plule closed 2 years ago

plule commented 2 years ago

I'm currently getting some change in Faust to overcome stack overflow in debug (corresponding PR). It requires to change the way the Box is created.

This PR adds a way to initialize the Dsp outside of the DspHandle. Once the Faust changes are merged and released, I think we should then be able to directly use the new methods in new().

Also some unintentional cargo fmt :)

Jikstra commented 2 years ago

Looks good! The Boxed vs DefaultBoxed nuances were new to me but I think I now understood the difference. Thank you :)

sletz commented 7 months ago

Thanks, documentation added here: https://github.com/grame-cncm/faust/tree/master-dev/architecture/rust#memory-allocation-issues