This commit is contained in:
halx99 2024-10-02 11:10:49 +08:00 committed by GitHub
parent 8ab4a6d7dd
commit 8a9ad35d58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 4 deletions

View File

@ -376,11 +376,18 @@ if (AX_ENABLE_AUDIO)
set(ALSOFT_BACKEND_OPENSL OFF CACHE BOOL "Enable OpenSL backend" FORCE)
set(OBOE_SOURCE "${oboe_SOURCE_DIR}" CACHE STRING "Source directory for Oboe." FORCE)
endif()
list(APPEND alsoft_opts "ALSOFT_RTKIT OFF")
list(APPEND alsoft_opts "ALSOFT_RTKIT OFF"
"ALSOFT_BACKEND_PIPEWIRE OFF"
"ALSOFT_BACKEND_PULSEAUDIO OFF"
"ALSOFT_BACKEND_ALSA OFF"
"ALSOFT_BACKEND_OSS OFF"
"ALSOFT_BACKEND_SOLARIS OFF"
"ALSOFT_BACKEND_SNDIO OFF"
"ALSOFT_BACKEND_JACK OFF"
"ALSOFT_BACKEND_PORTAUDIO OFF"
"ALSOFT_BACKEND_SDL2 OFF")
set(ALSOFT_RTKIT OFF CACHE BOOL "Enable RTKit support" FORCE)
endif()
if(WINDOWS)
elseif(WINDOWS)
list(APPEND alsoft_opts "ALSOFT_BACKEND_WASAPI ON" "ALSOFT_BACKEND_WAVE OFF" "ALSOFT_BACKEND_DSOUND OFF" "ALSOFT_BACKEND_WINMM OFF")
endif()