mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
LibAudio: Understand album (IPRD) metadata in WAV
This is in common usage, just not present in the reference I looked at.
This commit is contained in:
parent
4c9c2104f3
commit
34978b364b
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: 34978b364b
Pull-request: https://github.com/SerenityOS/serenity/pull/20650
1 changed files with 2 additions and 0 deletions
|
@ -324,6 +324,8 @@ MaybeLoaderError WavLoaderPlugin::load_wav_info_block(Vector<RIFF::Chunk> info_c
|
|||
m_metadata.genre = TRY(String::from_utf8(metadata_text));
|
||||
} else if (metadata_name == "INAM"sv) {
|
||||
m_metadata.title = TRY(String::from_utf8(metadata_text));
|
||||
} else if (metadata_name == "IPRD"sv) {
|
||||
m_metadata.album = TRY(String::from_utf8(metadata_text));
|
||||
} else if (metadata_name == "ISFT"sv) {
|
||||
m_metadata.encoder = TRY(String::from_utf8(metadata_text));
|
||||
} else if (metadata_name == "ISRC"sv) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue