From 8f8bc1f088b389a683735d626cbce9adb1f6dc17 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 7 Jul 2023 18:26:10 +1000 Subject: vbr-compatible mp3 duration :) --- src/codecs/include/mad.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/codecs/include') diff --git a/src/codecs/include/mad.hpp b/src/codecs/include/mad.hpp index d2643230..fbae560c 100644 --- a/src/codecs/include/mad.hpp +++ b/src/codecs/include/mad.hpp @@ -42,6 +42,8 @@ class MadMp3Decoder : public ICodec { -> Result override; private: + auto GetVbrLength(const mad_header& header) -> std::optional; + mad_stream stream_; mad_frame frame_; mad_synth synth_; -- cgit v1.2.3