1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:57:35 +00:00

LibAudio: Allow writing Vorbis comments

The vorbis comment parsing code is slightly generalized to reuse
field-role associations for artists.
This commit is contained in:
kleines Filmröllchen 2023-08-18 22:33:20 +02:00 committed by Andrew Kaster
parent c853a73ae2
commit fc2301c23c
2 changed files with 75 additions and 7 deletions

View file

@ -14,5 +14,6 @@ namespace Audio {
// https://www.xiph.org/vorbis/doc/v-comment.html
ErrorOr<Metadata, LoaderError> load_vorbis_comment(ByteBuffer const& vorbis_comment);
ErrorOr<void> write_vorbis_comment(Metadata const& metadata, Stream& target);
}