mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibAudio: Detect and read FLAC metadata
FLAC uses the very simple vorbis comment metadata format, which we can now read most standard and non-standard fields from.
This commit is contained in:
parent
d8e8ddedf3
commit
a8963a270f
5 changed files with 160 additions and 1 deletions
|
@ -78,6 +78,8 @@ private:
|
|||
// decode a single rice partition that has its own rice parameter
|
||||
ALWAYS_INLINE ErrorOr<Vector<i32>, LoaderError> decode_rice_partition(u8 partition_type, u32 partitions, u32 partition_index, FlacSubframeHeader& subframe, BigEndianInputBitStream& bit_input);
|
||||
MaybeLoaderError load_seektable(FlacRawMetadataBlock&);
|
||||
// Note that failing to read a Vorbis comment block is not treated as an error of the FLAC loader, since metadata is optional.
|
||||
void load_vorbis_comment(FlacRawMetadataBlock&);
|
||||
MaybeLoaderError load_picture(FlacRawMetadataBlock&);
|
||||
|
||||
// Converters for special coding used in frame headers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue