2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

externals: update opus to 1.4

This commit is contained in:
liushuyu 2023-10-09 16:51:32 -06:00
parent db37e583ff
commit a0a3566977
2 changed files with 10 additions and 10 deletions

View file

@ -11,16 +11,16 @@ option(OPUS_CUSTOM_MODES "Enable non-Opus modes, e.g. 44.1 kHz & 2^n frames" OFF
option(OPUS_FIXED_POINT "Compile as fixed-point (for machines without a fast enough FPU)" OFF)
option(OPUS_ENABLE_FLOAT_API "Compile with the floating point API (for machines with float library" ON)
include(opus/opus_functions.cmake)
include(opus/cmake/OpusFunctions.cmake)
if(OPUS_STACK_PROTECTOR)
if(NOT MSVC) # GC on by default on MSVC
check_and_set_flag(STACK_PROTECTION_STRONG -fstack-protector-strong)
endif()
else()
if(MSVC)
check_and_set_flag(BUFFER_SECURITY_CHECK /GS-)
endif()
if(MSVC)
target_compile_options(opus PRIVATE /GS)
else()
target_compile_options(opus PRIVATE -fstack-protector-strong)
endif()
elseif(STACK_PROTECTOR_DISABLED_SUPPORTED)
target_compile_options(opus PRIVATE /GS-)
endif()
add_library(opus
@ -233,7 +233,7 @@ endif()
target_compile_definitions(opus
PUBLIC
-DOPUS_VERSION="\\"1.3.1\\""
-DOPUS_VERSION="\\"1.4.0\\""
PRIVATE
# Use C99 intrinsics to speed up float-to-int conversion

2
externals/opus/opus vendored

@ -1 +1 @@
Subproject commit ad8fe90db79b7d2a135e3dfd2ed6631b0c5662ab
Subproject commit 82ac57d9f1aaf575800cf17373348e45b7ce6c0d