SoundAPI: OpenAL support

This commit is contained in:
LAGonauta 2025-02-01 22:20:01 -05:00
parent ec2d7c086a
commit b02bd6225b
16 changed files with 3874 additions and 0 deletions

View file

@ -123,6 +123,7 @@ if (WIN32)
option(ENABLE_XAUDIO "Enables the xaudio backend" ON)
endif()
option(ENABLE_CUBEB "Enabled cubeb backend" ON)
option(ENABLE_OPENAL "Enabled OpenAL backend" ON)
option(ENABLE_WXWIDGETS "Build with wxWidgets UI (Currently required)" ON)
@ -220,6 +221,10 @@ if (ENABLE_CUBEB)
add_compile_definitions("HAS_CUBEB=1")
endif()
if (ENABLE_OPENAL)
add_compile_definitions("HAS_OPENAL=1")
endif()
add_subdirectory("dependencies/ih264d" EXCLUDE_FROM_ALL)
find_package(ZArchive)