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
Low latency audio on Linux #320
Comments
From my understanding, the current standard for low-latency audio on Linux is JACK. The JACK audio server also exists for other platforms (including Windows and OSX), so it would potentially be a new cross-platform option rather than something for Linux only. |
Apparently you can compile jportaudio on linux no problem and it works? Here's what I did:
I'm on Arch Linux, so you might need to change the include paths. Now you should have Then, add to export LD_LIBRARY_PATH="/path/to/directory/containing/libjportaudio.so/"
export LD_PRELOAD="/usr/lib/libportaudio.so" # might be different depending on your distro |
Brilliant, this workaround has me set for the moment, thank you for that. |
jPortAudio does not have a Linux version, and probably never will. This leaves Linux only with "OpenAL (LibGDX Sound)", which feels a lot more delayed than PortAudio on Windows. A lower latency option for Linux should be made available, if one exists.
The text was updated successfully, but these errors were encountered: