Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PortAudio ASIO bindings compatibility #4

Open
kevinstadler opened this issue Oct 12, 2023 · 1 comment
Open

PortAudio ASIO bindings compatibility #4

kevinstadler opened this issue Oct 12, 2023 · 1 comment

Comments

@kevinstadler
Copy link

Hello,

we have been successfully using JSyn as part of the Processing sound library with the precompiled JPortAudio bindings for both Mac and Windows available from the JSyn website. Since we want to add ASIO support we have tried to substitute the bundled Windows dll with other precompiled binaries that we found, but we have not been able to get the java bindings to work with any of them (see processing/processing-sound#87). Before we get started on compiling the Windows dlls ourselves we were wondering if there are any constraints on which version of the PortAudio API/codebase is compatible with the bindings, since we found no concrete information on this (and it seemed like some of the issues with other binaries that we tried had to do with v18/19)?

Many thanks,
Kevin

@philburk
Copy link
Owner

I am glad to hear that JSyn and JPortAudio are still finding use in Processing.

I looked at the original code for JPortAudio checked into the Assembla SVN in 2012.
It appeared to be using the V19 API:
https://app.assembla.com/spaces/portaudio/git/source/master/bindings/java/c/src/com_portaudio_PortAudio.c

So I suspect that the binary incompatibilities may be due to linker settings.

Building fresh binaries and JAR files is probably the best way to get a consistent set of libraries.
I normally build for Mac and Linux. So I cannot offer much advice for Windows/ASIO builds.
For build advice I would consult the PortAudio mail list.
https://www.portaudio.com/contacts.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants