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:
parent
c853a73ae2
commit
fc2301c23c
2 changed files with 75 additions and 7 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue