mirror of https://github.com/axmolengine/axmol.git
parent
8ab4a6d7dd
commit
8a9ad35d58
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue