mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:12:43 +00:00 
			
		
		
		
	 a8963a270f
			
		
	
	
		a8963a270f
		
	
	
	
	
		
			
			FLAC uses the very simple vorbis comment metadata format, which we can now read most standard and non-standard fields from.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			393 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			393 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2023, kleines Filmröllchen <filmroellchen@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/ByteBuffer.h>
 | |
| #include <LibAudio/LoaderError.h>
 | |
| #include <LibAudio/Metadata.h>
 | |
| 
 | |
| namespace Audio {
 | |
| 
 | |
| // https://www.xiph.org/vorbis/doc/v-comment.html
 | |
| ErrorOr<Metadata, LoaderError> load_vorbis_comment(ByteBuffer const& vorbis_comment);
 | |
| 
 | |
| }
 |