diff options
| author | 2023-10-09 16:51:32 -0600 | |
|---|---|---|
| committer | 2023-10-21 22:29:19 -0600 | |
| commit | a0a3566977428870b149351686fefd93ab0bd212 (patch) | |
| tree | f1b5abbfd7bc97eaa913607c370e52fd8726b439 /externals | |
| parent | Merge pull request #11831 from liamwhite/hosversionbetween (diff) | |
| download | yuzu-a0a3566977428870b149351686fefd93ab0bd212.tar.gz yuzu-a0a3566977428870b149351686fefd93ab0bd212.tar.xz yuzu-a0a3566977428870b149351686fefd93ab0bd212.zip | |
externals: update opus to 1.4
Diffstat (limited to 'externals')
| -rw-r--r-- | externals/opus/CMakeLists.txt | 18 | ||||
| m--------- | externals/opus/opus | 0 |
2 files changed, 9 insertions, 9 deletions
diff --git a/externals/opus/CMakeLists.txt b/externals/opus/CMakeLists.txt index d9a03423d..574e2e44b 100644 --- a/externals/opus/CMakeLists.txt +++ b/externals/opus/CMakeLists.txt | |||
| @@ -11,16 +11,16 @@ option(OPUS_CUSTOM_MODES "Enable non-Opus modes, e.g. 44.1 kHz & 2^n frames" OFF | |||
| 11 | option(OPUS_FIXED_POINT "Compile as fixed-point (for machines without a fast enough FPU)" OFF) | 11 | option(OPUS_FIXED_POINT "Compile as fixed-point (for machines without a fast enough FPU)" OFF) |
| 12 | option(OPUS_ENABLE_FLOAT_API "Compile with the floating point API (for machines with float library" ON) | 12 | option(OPUS_ENABLE_FLOAT_API "Compile with the floating point API (for machines with float library" ON) |
| 13 | 13 | ||
| 14 | include(opus/opus_functions.cmake) | 14 | include(opus/cmake/OpusFunctions.cmake) |
| 15 | 15 | ||
| 16 | if(OPUS_STACK_PROTECTOR) | 16 | if(OPUS_STACK_PROTECTOR) |
| 17 | if(NOT MSVC) # GC on by default on MSVC | 17 | if(MSVC) |
| 18 | check_and_set_flag(STACK_PROTECTION_STRONG -fstack-protector-strong) | 18 | target_compile_options(opus PRIVATE /GS) |
| 19 | endif() | 19 | else() |
| 20 | else() | 20 | target_compile_options(opus PRIVATE -fstack-protector-strong) |
| 21 | if(MSVC) | 21 | endif() |
| 22 | check_and_set_flag(BUFFER_SECURITY_CHECK /GS-) | 22 | elseif(STACK_PROTECTOR_DISABLED_SUPPORTED) |
| 23 | endif() | 23 | target_compile_options(opus PRIVATE /GS-) |
| 24 | endif() | 24 | endif() |
| 25 | 25 | ||
| 26 | add_library(opus | 26 | add_library(opus |
| @@ -233,7 +233,7 @@ endif() | |||
| 233 | 233 | ||
| 234 | target_compile_definitions(opus | 234 | target_compile_definitions(opus |
| 235 | PUBLIC | 235 | PUBLIC |
| 236 | -DOPUS_VERSION="\\"1.3.1\\"" | 236 | -DOPUS_VERSION="\\"1.4.0\\"" |
| 237 | 237 | ||
| 238 | PRIVATE | 238 | PRIVATE |
| 239 | # Use C99 intrinsics to speed up float-to-int conversion | 239 | # Use C99 intrinsics to speed up float-to-int conversion |
diff --git a/externals/opus/opus b/externals/opus/opus | |||
| Subproject ad8fe90db79b7d2a135e3dfd2ed6631b0c5662a | Subproject 82ac57d9f1aaf575800cf17373348e45b7ce6c0 | ||