Open cmaughan opened 2 years ago
We ran into the same problem. It seems like the release on crates.io is outdated. In our case using the git repo solved the problem:
[dependencies]
dsp-chain = {git="https://github.com/RustAudio/dsp-chain.git"}
It would be nice to update the crate on crates.io if this is the cause of the problem.
After adding this crate, I got:
S
declared on the associated functionto_sample
help: consider specifying the type argument in the method call | 57 | let v = phase.to_float_sample().to_sample::
() * PI_2; | ^^^^^