2018-07-27 00:01:37 +00:00
|
|
|
add_library(audio_core STATIC
|
2018-08-12 18:32:16 +00:00
|
|
|
algorithm/filter.cpp
|
|
|
|
algorithm/filter.h
|
2018-07-27 00:01:37 +00:00
|
|
|
audio_out.cpp
|
|
|
|
audio_out.h
|
2018-08-04 21:45:14 +00:00
|
|
|
audio_renderer.cpp
|
|
|
|
audio_renderer.h
|
2018-07-27 00:01:37 +00:00
|
|
|
buffer.h
|
2018-08-03 19:30:01 +00:00
|
|
|
codec.cpp
|
|
|
|
codec.h
|
2018-07-28 17:40:50 +00:00
|
|
|
null_sink.h
|
|
|
|
sink.h
|
|
|
|
sink_details.cpp
|
|
|
|
sink_details.h
|
|
|
|
sink_stream.h
|
2018-08-12 18:32:16 +00:00
|
|
|
stream.cpp
|
|
|
|
stream.h
|
2018-08-07 11:21:56 +00:00
|
|
|
|
|
|
|
$<$<BOOL:${ENABLE_CUBEB}>:cubeb_sink.cpp cubeb_sink.h>
|
2018-07-27 00:01:37 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
create_target_directory_groups(audio_core)
|
|
|
|
|
|
|
|
target_link_libraries(audio_core PUBLIC common core)
|
2018-07-28 17:44:50 +00:00
|
|
|
|
|
|
|
if(ENABLE_CUBEB)
|
|
|
|
target_link_libraries(audio_core PRIVATE cubeb)
|
|
|
|
target_compile_definitions(audio_core PRIVATE -DHAVE_CUBEB=1)
|
|
|
|
endif()
|