replace source of shared library libportaudio

This commit is contained in:
zymon 2024-11-25 16:42:18 +01:00
parent 06c6fd0495
commit 7de2459d0f

View file

@ -1,7 +1,12 @@
module LibPortAudio
using libportaudio_jll
export libportaudio_jll
# using libportaudio_jll
# export libportaudio_jll
# libportaudio_jll provided by General Julia registry cannot handle correctly
# some Pipewire devices like Bluetooth headphones. Just use local versions of
# libportaudio.so provided by OS since it works.
libportaudio = "/usr/lib/libportaudio.so"
function Pa_GetVersion()
ccall((:Pa_GetVersion, libportaudio), Cint, ())