2018-07-27 02:01:37 +02:00
|
|
|
add_library(audio_core STATIC
|
|
|
|
audio_out.cpp
|
|
|
|
audio_out.h
|
|
|
|
buffer.h
|
2018-07-28 19:44:50 +02:00
|
|
|
cubeb_sink.cpp
|
|
|
|
cubeb_sink.h
|
2018-07-28 19:40:50 +02:00
|
|
|
null_sink.h
|
2018-07-27 02:01:37 +02:00
|
|
|
stream.cpp
|
|
|
|
stream.h
|
2018-07-28 19:40:50 +02:00
|
|
|
sink.h
|
|
|
|
sink_details.cpp
|
|
|
|
sink_details.h
|
|
|
|
sink_stream.h
|
2018-07-27 02:01:37 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
create_target_directory_groups(audio_core)
|
|
|
|
|
|
|
|
target_link_libraries(audio_core PUBLIC common core)
|
2018-07-28 19:44:50 +02:00
|
|
|
|
|
|
|
if(ENABLE_CUBEB)
|
|
|
|
target_link_libraries(audio_core PRIVATE cubeb)
|
|
|
|
target_compile_definitions(audio_core PRIVATE -DHAVE_CUBEB=1)
|
|
|
|
endif()
|