Open BlacRyu opened 8 months ago
Yeah maybe it is good to mention them.
Since this library depends on libpd
that requires LLVM toolchain to build.
Also examples depend on cpal
.
In windows cpal
defaults to WASAPI
backend. I don't know how that behaves exactly since when I'm on windows I generally use ASIO
. On the other hand to use ASIO
you need to build cpal
with the asio
feature.
But as you did, probably setting your environment as it needs will resolve the issue.
Audio needs a bit more love in windows compared to a mac with Coreaudio
backend 😅
I'm trying to run the simple
example on macos but run into similar issues. cmake
and llvm
had to be installed
When building (on Windows) I get the following error:
After installing CMake, I then get the following:
After installing LLVM I was then able to build successfully.
I then tried to run the
with_nanou
example but ran into another error:I was able to solve this by changing the sample rate to my output devices current setting of 48000 Hz on line 39 of main.rs. After that the example seemed to run fine.