mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:22:43 +00:00 
			
		
		
		
	 7e3249ad4c
			
		
	
	
		7e3249ad4c
		
	
	
	
	
		
			
			Includes a set of wav files of different frequencies, these are each loaded and then written to a temporary file, checking that the meta-data is correctly read and that the output matches the input.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			337 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			337 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(TEST_SOURCES
 | |
|     TestWav.cpp
 | |
|     TestFLACSpec.cpp
 | |
|     TestPlaybackStream.cpp
 | |
| )
 | |
| 
 | |
| foreach(source IN LISTS TEST_SOURCES)
 | |
|     serenity_test("${source}" LibAudio LIBS LibAudio LibFileSystem)
 | |
| endforeach()
 | |
| 
 | |
| install(DIRECTORY ${FLAC_SPEC_TEST_PATH} DESTINATION usr/Tests/LibAudio/FLAC)
 | |
| 
 | |
| install(DIRECTORY WAV DESTINATION usr/Tests/LibAudio)
 |