tag/Handler: implement FullTagHandler::OnAudioFormat()

This commit is contained in:
Max Kellermann
2018-07-06 22:46:03 +02:00
parent 73c95d1fb2
commit c05bca6f2c
6 changed files with 35 additions and 13 deletions

View File

@@ -100,9 +100,10 @@ ScanFileTagsNoGeneric(Path path_fs, TagHandler &handler) noexcept
}
bool
ScanFileTagsWithGeneric(Path path, TagBuilder &builder) noexcept
ScanFileTagsWithGeneric(Path path, TagBuilder &builder,
AudioFormat *audio_format) noexcept
{
FullTagHandler h(builder);
FullTagHandler h(builder, audio_format);
if (!ScanFileTagsNoGeneric(path, h))
return false;