1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 08:47:34 +00:00

LibAudio: Add a generic audio metadata container

This container has several design goals:
- Represent all common and relevant metadata fields of audio files in a
  unified way.
- Allow perfect recreation of any metadata format from the in-memory
  structure. This requires that we allow non-detected fields to reside
  in an "untyped" miscellaneous collection.

Like with pictures, plugins are free to store their metadata into the
m_metadata field whenever they read it. It is recommended that this
happens on loader creation; however failing to read metadata should not
cause an error in the plugin.
This commit is contained in:
kleines Filmröllchen 2023-03-07 16:50:32 +01:00 committed by Tim Flynn
parent d1dd753a95
commit d8e8ddedf3
4 changed files with 168 additions and 0 deletions

View file

@ -4,6 +4,7 @@ set(SOURCES
WavLoader.cpp
FlacLoader.cpp
WavWriter.cpp
Metadata.cpp
MP3Loader.cpp
QOALoader.cpp
QOATypes.cpp