Frando / rust-faust

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

Get rid of the allocation in the jack process callback for the example #3

Closed Jikstra closed 2 years ago

Jikstra commented 2 years ago

As allocations are not realtime safe we should take care that this doesn't happen.

The downside of this change is, that now we are copying the all the audio samples between the jack buffer and the faust buffer. Before we were only copying the pointer to the array.