decoder/sndfile: call TagHandler::OnAudioFormat()

This commit is contained in:
Max Kellermann 2018-07-07 13:29:39 +02:00
parent 45cccbce59
commit de0ee26432

View File

@ -286,6 +286,11 @@ sndfile_scan_stream(InputStream &is, TagHandler &handler) noexcept
return false;
}
try {
handler.OnAudioFormat(CheckAudioFormat(info));
} catch (...) {
}
handler.OnDuration(sndfile_duration(info));
for (auto i : sndfile_tags)