Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Manifest.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This file is machine-generated - editing it directly is not advised

julia_version = "1.12.4"
julia_version = "1.12.6"
manifest_format = "2.0"
project_hash = "07380e900bee0ff1dca3605ab11da64338464d42"
project_hash = "05920b917316b6a3e2c70813a1374f403333524c"

[[deps.Accessors]]
deps = ["CompositionsBase", "ConstructionBase", "Dates", "InverseFunctions", "MacroTools"]
Expand Down
8 changes: 7 additions & 1 deletion src/audio/openal_backend.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const AL_FALSE = Int32(0)
function find_openal()::String

if OpenAL_jll.is_available()
return OpenAL_jll.libopenal_path
paths = OpenAL_jll.libopenal_path
return paths isa Vector ? first(paths) : paths
end

system_names = if Sys.iswindows()
Expand All @@ -39,6 +40,11 @@ function find_openal()::String
else
["libopenal.so", "libopenal.so.1"]
end
for name in system_names
found = Sys.which(name)
found !== nothing && return found
end
error("OpenAl not found. Install OpenAl or OpenAL Soft")
end

const libopenal = find_openal()
Expand Down
Loading