mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-29 23:41:05 -06:00
Some checks are pending
citra-build / source (push) Waiting to run
citra-build / linux (appimage) (push) Waiting to run
citra-build / linux (appimage-wayland) (push) Waiting to run
citra-build / linux (fresh) (push) Waiting to run
citra-build / macos (arm64) (push) Waiting to run
citra-build / macos (x86_64) (push) Waiting to run
citra-build / macos-universal (push) Blocked by required conditions
citra-build / windows (msvc) (push) Waiting to run
citra-build / windows (msys2) (push) Waiting to run
citra-build / android (googleplay) (push) Waiting to run
citra-build / android (vanilla) (push) Waiting to run
citra-build / docker (push) Waiting to run
citra-format / clang-format (push) Waiting to run
citra-libretro / android (push) Waiting to run
citra-libretro / linux (push) Waiting to run
citra-libretro / windows (push) Waiting to run
citra-libretro / macos (arm64) (push) Waiting to run
citra-libretro / macos (x86_64) (push) Waiting to run
citra-libretro / ios (push) Waiting to run
citra-libretro / tvos (push) Waiting to run
citra-transifex / transifex (push) Waiting to run
* libretro core * Bringing citra libretro implementation over * libretro: hook up vulkan renderer * libretro: github actions * libretro: gyro * libretro: core options v2 * libretro: on ios turn off shader jit if unavailable * moltenvk 1.3.0 introduces 8-bit indexes but allocates 16-bit for metal; this ends up allocating stream buffer * 2 = 132MiB. Instead, just use 16-bit indexes. (This will be necessary for standalone when bumping moltenvk version.) * libretro core: address review feedback * libretro: microphone support * cmake: Add ENABLE_ROOM_STANDALONE to list of incompatible libretro flags * libretro: proper initial geometry * libretro: fix software renderer * libretro: address review feedback * .github/libretro.yml: Pin macOS runners at macOS 26 * ci: Remove explicit selection of Xcode 16.0 * .github/libretro.yml: remove unnecessary windows builder apt commands * .github/libretro.yml: bump min macos version to 11.0 * ci: Re-enable CI jobs for all libretro cores This is under the condition that we don't introduce build cache for these builds --------- Co-authored-by: OpenSauce04 <opensauce04@gmail.com> Co-authored-by: PabloMK7 <hackyglitch2@gmail.com>
69 lines
1.8 KiB
CMake
69 lines
1.8 KiB
CMake
add_library(audio_core STATIC
|
|
audio_types.h
|
|
codec.cpp
|
|
codec.h
|
|
dsp_interface.cpp
|
|
dsp_interface.h
|
|
hle/aac_decoder.cpp
|
|
hle/aac_decoder.h
|
|
hle/common.h
|
|
hle/decoder.cpp
|
|
hle/decoder.h
|
|
hle/filter.cpp
|
|
hle/filter.h
|
|
hle/hle.cpp
|
|
hle/hle.h
|
|
hle/mixers.cpp
|
|
hle/mixers.h
|
|
hle/shared_memory.h
|
|
hle/source.cpp
|
|
hle/source.h
|
|
lle/lle.cpp
|
|
lle/lle.h
|
|
input.h
|
|
input_details.cpp
|
|
input_details.h
|
|
interpolate.cpp
|
|
interpolate.h
|
|
null_input.h
|
|
null_sink.h
|
|
precompiled_headers.h
|
|
sink.h
|
|
sink_details.cpp
|
|
sink_details.h
|
|
static_input.cpp
|
|
static_input.h
|
|
time_stretch.cpp
|
|
time_stretch.h
|
|
|
|
$<$<BOOL:${ENABLE_SDL2}>:sdl2_sink.cpp sdl2_sink.h>
|
|
$<$<BOOL:${ENABLE_CUBEB}>:cubeb_sink.cpp cubeb_sink.h cubeb_input.cpp cubeb_input.h>
|
|
$<$<BOOL:${ENABLE_LIBRETRO}>:libretro_sink.cpp libretro_sink.h libretro_input.cpp libretro_input.h>
|
|
$<$<BOOL:${ENABLE_OPENAL}>:openal_input.cpp openal_input.h openal_sink.cpp openal_sink.h>
|
|
)
|
|
|
|
create_target_directory_groups(audio_core)
|
|
|
|
target_link_libraries(audio_core PUBLIC citra_common citra_core)
|
|
target_link_libraries(audio_core PRIVATE faad2 SoundTouch teakra)
|
|
|
|
if(ENABLE_SDL2)
|
|
target_link_libraries(audio_core PRIVATE SDL2::SDL2)
|
|
target_compile_definitions(audio_core PRIVATE HAVE_SDL2)
|
|
endif()
|
|
|
|
if(ENABLE_CUBEB)
|
|
target_link_libraries(audio_core PRIVATE cubeb)
|
|
target_compile_definitions(audio_core PUBLIC HAVE_CUBEB)
|
|
endif()
|
|
|
|
if(ENABLE_OPENAL)
|
|
target_link_libraries(audio_core PRIVATE OpenAL)
|
|
target_compile_definitions(audio_core PUBLIC HAVE_OPENAL)
|
|
add_definitions(-DAL_LIBTYPE_STATIC)
|
|
endif()
|
|
|
|
if (CITRA_USE_PRECOMPILED_HEADERS)
|
|
target_precompile_headers(audio_core PRIVATE precompiled_headers.h)
|
|
endif()
|