diff --git a/src/decoder/plugins/SndfileDecoderPlugin.cxx b/src/decoder/plugins/SndfileDecoderPlugin.cxx index 7c20f1566..58714e4c3 100644 --- a/src/decoder/plugins/SndfileDecoderPlugin.cxx +++ b/src/decoder/plugins/SndfileDecoderPlugin.cxx @@ -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)