Open msj121 opened 1 year ago
I don't really know Python's C API and I wasn't even aware that it allows running a script.
If you provide a complete runnable (but still minimal) example, someone might be able to try this at home and further diagnose the problem.
Hi,
I can run the python code directly no problem from python. C++ compiled code run from Terminal (macos) Unix file also works. I am having some trouble when double clicking the package created by cmake for sounddevice to receive data.
In c++ code:
Where test.py is the working python code. Compiled everything runs fine when running the file from terminal but when compiled into a "dragndrop" from cmake it can get the device information (and sample rate) but it gets no data in the "q" variable.
Any ideas what I might be missing?
Thanks!