From 1f1059843fa9ea7e8b6d9c288626dac9e2df67f2 Mon Sep 17 00:00:00 2001 From: Tom Kirchner Date: Sat, 11 Jan 2025 21:57:26 -0800 Subject: Rename VbrInfo to Mp3Info It can apply to CBR files too, when the marker is "Info" --- src/codecs/include/mad.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/codecs/include/mad.hpp') diff --git a/src/codecs/include/mad.hpp b/src/codecs/include/mad.hpp index e28e32c8..274862f7 100644 --- a/src/codecs/include/mad.hpp +++ b/src/codecs/include/mad.hpp @@ -38,13 +38,13 @@ class MadMp3Decoder : public ICodec { private: auto SkipID3Tags(IStream& stream) -> std::optional; - struct VbrInfo { + struct Mp3Info { uint32_t length; std::optional bytes; std::optional> toc; }; - auto GetVbrInfo(const mad_header& header) -> std::optional; + auto GetMp3Info(const mad_header& header) -> std::optional; auto GetBytesUsed() -> std::size_t; -- cgit v1.2.3