replace source of shared library libportaudio
This commit is contained in:
parent
06c6fd0495
commit
7de2459d0f
1 changed files with 7 additions and 2 deletions
|
@ -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, ())
|
||||
|
|
Loading…
Reference in a new issue