mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	audio_core: add teakra and lle interface
This commit is contained in:
		
							parent
							
								
									eabc9727d8
								
							
						
					
					
						commit
						6d51d95d44
					
				
					 6 changed files with 55 additions and 8 deletions
				
			
		|  | @ -14,6 +14,8 @@ add_library(audio_core STATIC | |||
|     hle/shared_memory.h | ||||
|     hle/source.cpp | ||||
|     hle/source.h | ||||
|     lle/lle.cpp | ||||
|     lle/lle.h | ||||
|     interpolate.cpp | ||||
|     interpolate.h | ||||
|     null_sink.h | ||||
|  | @ -30,7 +32,7 @@ add_library(audio_core STATIC | |||
| create_target_directory_groups(audio_core) | ||||
| 
 | ||||
| target_link_libraries(audio_core PUBLIC common core) | ||||
| target_link_libraries(audio_core PRIVATE SoundTouch) | ||||
| target_link_libraries(audio_core PRIVATE SoundTouch teakra) | ||||
| 
 | ||||
| if(SDL2_FOUND) | ||||
|     target_link_libraries(audio_core PRIVATE SDL2) | ||||
|  | @ -41,4 +43,3 @@ if(ENABLE_CUBEB) | |||
|     target_link_libraries(audio_core PRIVATE cubeb) | ||||
|     add_definitions(-DHAVE_CUBEB=1) | ||||
| endif() | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										17
									
								
								src/audio_core/lle/lle.cpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/audio_core/lle/lle.cpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| // Copyright 2018 Citra Emulator Project
 | ||||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "audio_core/lle/lle.h" | ||||
| #include "teakra/teakra.h" | ||||
| 
 | ||||
| namespace AudioCore { | ||||
| 
 | ||||
| struct DspLle::Impl final { | ||||
|     Teakra::Teakra teakra; | ||||
| }; | ||||
| 
 | ||||
| DspLle::DspLle() : impl(std::make_unique<Impl>()) {} | ||||
| DspLle::~DspLle() = default; | ||||
| 
 | ||||
| } // namespace AudioCore
 | ||||
							
								
								
									
										22
									
								
								src/audio_core/lle/lle.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/audio_core/lle/lle.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| // Copyright 2018 Citra Emulator Project
 | ||||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include "audio_core/dsp_interface.h" | ||||
| 
 | ||||
| namespace AudioCore { | ||||
| 
 | ||||
| class DspLle final : public DspInterface { | ||||
| public: | ||||
|     DspLle(); | ||||
|     ~DspLle(); | ||||
| 
 | ||||
| private: | ||||
|     struct Impl; | ||||
|     friend struct Impl; | ||||
|     std::unique_ptr<Impl> impl; | ||||
| }; | ||||
| 
 | ||||
| } // namespace AudioCore
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue