decoder/sndfile: call TagHandler::OnAudioFormat()
This commit is contained in:
parent
45cccbce59
commit
de0ee26432
@ -286,6 +286,11 @@ sndfile_scan_stream(InputStream &is, TagHandler &handler) noexcept
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
handler.OnAudioFormat(CheckAudioFormat(info));
|
||||||
|
} catch (...) {
|
||||||
|
}
|
||||||
|
|
||||||
handler.OnDuration(sndfile_duration(info));
|
handler.OnDuration(sndfile_duration(info));
|
||||||
|
|
||||||
for (auto i : sndfile_tags)
|
for (auto i : sndfile_tags)
|
||||||
|
Loading…
Reference in New Issue
Block a user