| 
									
										
										
										
											2018-07-26 20:01:37 -04:00
										 |  |  | add_library(audio_core STATIC | 
					
						
							| 
									
										
										
										
											2018-08-12 19:32:16 +01:00
										 |  |  |     algorithm/filter.cpp | 
					
						
							|  |  |  |     algorithm/filter.h | 
					
						
							| 
									
										
										
										
											2018-08-12 19:32:39 +01:00
										 |  |  |     algorithm/interpolate.cpp | 
					
						
							|  |  |  |     algorithm/interpolate.h | 
					
						
							| 
									
										
										
										
											2018-07-26 20:01:37 -04:00
										 |  |  |     audio_out.cpp | 
					
						
							|  |  |  |     audio_out.h | 
					
						
							| 
									
										
										
										
											2018-08-04 17:45:14 -04:00
										 |  |  |     audio_renderer.cpp | 
					
						
							|  |  |  |     audio_renderer.h | 
					
						
							| 
									
										
										
										
											2020-04-21 12:57:30 +10:00
										 |  |  |     behavior_info.cpp | 
					
						
							|  |  |  |     behavior_info.h | 
					
						
							| 
									
										
										
										
											2018-07-26 20:01:37 -04:00
										 |  |  |     buffer.h | 
					
						
							| 
									
										
										
										
											2018-08-03 15:30:01 -04:00
										 |  |  |     codec.cpp | 
					
						
							|  |  |  |     codec.h | 
					
						
							| 
									
										
										
										
											2020-07-12 21:59:14 +10:00
										 |  |  |     command_generator.cpp | 
					
						
							|  |  |  |     command_generator.h | 
					
						
							| 
									
										
										
										
											2020-04-21 12:57:30 +10:00
										 |  |  |     common.h | 
					
						
							| 
									
										
										
										
											2020-07-12 21:59:14 +10:00
										 |  |  |     effect_context.cpp | 
					
						
							|  |  |  |     effect_context.h | 
					
						
							|  |  |  |     info_updater.cpp | 
					
						
							|  |  |  |     info_updater.h | 
					
						
							|  |  |  |     memory_pool.cpp | 
					
						
							|  |  |  |     memory_pool.h | 
					
						
							|  |  |  |     mix_context.cpp | 
					
						
							|  |  |  |     mix_context.h | 
					
						
							| 
									
										
										
										
											2018-07-28 13:40:50 -04:00
										 |  |  |     null_sink.h | 
					
						
							|  |  |  |     sink.h | 
					
						
							| 
									
										
										
										
											2020-07-12 21:59:14 +10:00
										 |  |  |     sink_context.cpp | 
					
						
							|  |  |  |     sink_context.h | 
					
						
							| 
									
										
										
										
											2018-07-28 13:40:50 -04:00
										 |  |  |     sink_details.cpp | 
					
						
							|  |  |  |     sink_details.h | 
					
						
							|  |  |  |     sink_stream.h | 
					
						
							| 
									
										
										
										
											2020-07-12 21:59:14 +10:00
										 |  |  |     splitter_context.cpp | 
					
						
							|  |  |  |     splitter_context.h | 
					
						
							| 
									
										
										
										
											2018-08-12 19:32:16 +01:00
										 |  |  |     stream.cpp | 
					
						
							|  |  |  |     stream.h | 
					
						
							| 
									
										
										
										
											2018-09-08 16:48:13 +01:00
										 |  |  |     time_stretch.cpp | 
					
						
							|  |  |  |     time_stretch.h | 
					
						
							| 
									
										
										
										
											2020-07-12 21:59:14 +10:00
										 |  |  |     voice_context.cpp | 
					
						
							|  |  |  |     voice_context.h | 
					
						
							| 
									
										
										
										
											2018-08-07 13:21:56 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     $<$<BOOL:${ENABLE_CUBEB}>:cubeb_sink.cpp cubeb_sink.h> | 
					
						
							| 
									
										
										
										
											2018-07-26 20:01:37 -04:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | create_target_directory_groups(audio_core) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-25 00:28:35 -04:00
										 |  |  | if (NOT MSVC) | 
					
						
							|  |  |  |     target_compile_options(audio_core PRIVATE | 
					
						
							| 
									
										
										
										
											2020-10-13 16:00:33 -04:00
										 |  |  |         -Werror=conversion | 
					
						
							| 
									
										
										
										
											2020-09-25 00:28:35 -04:00
										 |  |  |         -Werror=ignored-qualifiers | 
					
						
							|  |  |  |         -Werror=implicit-fallthrough | 
					
						
							|  |  |  |         -Werror=reorder | 
					
						
							|  |  |  |         -Werror=sign-compare | 
					
						
							| 
									
										
										
										
											2020-11-25 15:21:03 -05:00
										 |  |  |         -Werror=shadow | 
					
						
							|  |  |  |         -Werror=unused-parameter | 
					
						
							| 
									
										
										
										
											2020-09-25 00:28:35 -04:00
										 |  |  |         -Werror=unused-variable | 
					
						
							| 
									
										
										
										
											2020-10-20 22:15:59 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  |         $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> | 
					
						
							|  |  |  |         $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         -Wno-sign-conversion | 
					
						
							| 
									
										
										
										
											2020-09-25 00:28:35 -04:00
										 |  |  |     ) | 
					
						
							|  |  |  | endif() | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-07-26 20:01:37 -04:00
										 |  |  | target_link_libraries(audio_core PUBLIC common core) | 
					
						
							| 
									
										
										
										
											2018-08-23 14:33:03 +02:00
										 |  |  | target_link_libraries(audio_core PRIVATE SoundTouch) | 
					
						
							| 
									
										
										
										
											2018-07-28 13:44:50 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | if(ENABLE_CUBEB) | 
					
						
							|  |  |  |     target_link_libraries(audio_core PRIVATE cubeb) | 
					
						
							|  |  |  |     target_compile_definitions(audio_core PRIVATE -DHAVE_CUBEB=1) | 
					
						
							|  |  |  | endif() |