diff options
| author | Tom Kirchner <git@halffull.org> | 2025-01-11 21:57:26 -0800 |
|---|---|---|
| committer | Tom Kirchner <git@halffull.org> | 2025-01-11 22:10:26 -0800 |
| commit | 1f1059843fa9ea7e8b6d9c288626dac9e2df67f2 (patch) | |
| tree | 8c783d9afc220870f014f647b7a0a793995bd150 /src/codecs/include | |
| parent | 430742c29776931a66658735e76f574dbf486330 (diff) | |
| download | tangara-fw-1f1059843fa9ea7e8b6d9c288626dac9e2df67f2.tar.gz | |
Rename VbrInfo to Mp3Info
It can apply to CBR files too, when the marker is "Info"
Diffstat (limited to 'src/codecs/include')
| -rw-r--r-- | src/codecs/include/mad.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<uint32_t>; - struct VbrInfo { + struct Mp3Info { uint32_t length; std::optional<uint32_t> bytes; std::optional<std::span<const unsigned char, 100>> toc; }; - auto GetVbrInfo(const mad_header& header) -> std::optional<VbrInfo>; + auto GetMp3Info(const mad_header& header) -> std::optional<Mp3Info>; auto GetBytesUsed() -> std::size_t; |
