This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2017-12-10 23:55:03 +00:00
|
|
|
add_library(audio_core STATIC
|
|
|
|
audio_core.cpp
|
|
|
|
audio_core.h
|
|
|
|
codec.cpp
|
|
|
|
codec.h
|
|
|
|
hle/common.h
|
|
|
|
hle/dsp.cpp
|
|
|
|
hle/dsp.h
|
|
|
|
hle/filter.cpp
|
|
|
|
hle/filter.h
|
|
|
|
hle/mixers.cpp
|
|
|
|
hle/mixers.h
|
|
|
|
hle/pipe.cpp
|
|
|
|
hle/pipe.h
|
|
|
|
hle/source.cpp
|
|
|
|
hle/source.h
|
|
|
|
interpolate.cpp
|
|
|
|
interpolate.h
|
|
|
|
null_sink.h
|
|
|
|
sink.h
|
|
|
|
sink_details.cpp
|
|
|
|
sink_details.h
|
|
|
|
time_stretch.cpp
|
|
|
|
time_stretch.h
|
2016-02-21 13:13:52 +00:00
|
|
|
|
2017-12-10 23:55:03 +00:00
|
|
|
$<$<BOOL:SDL2_FOUND>:sdl2_sink.cpp sdl2_sink.h>
|
|
|
|
)
|
2016-02-21 13:13:52 +00:00
|
|
|
|
2017-12-10 23:55:03 +00:00
|
|
|
create_target_directory_groups(audio_core)
|
2016-02-21 13:13:52 +00:00
|
|
|
|
2017-05-28 01:26:55 +00:00
|
|
|
target_link_libraries(audio_core PUBLIC common core)
|
|
|
|
target_link_libraries(audio_core PRIVATE SoundTouch)
|
2016-04-27 09:57:29 +00:00
|
|
|
|
|
|
|
if(SDL2_FOUND)
|
2017-05-28 04:38:49 +00:00
|
|
|
target_link_libraries(audio_core PRIVATE SDL2)
|
2017-05-28 01:26:55 +00:00
|
|
|
target_compile_definitions(audio_core PRIVATE HAVE_SDL2)
|
2016-04-27 09:57:29 +00:00
|
|
|
endif()
|