summaryrefslogtreecommitdiff
path: root/src/codecs/include
diff options
context:
space:
mode:
authorTom Kirchner <git@halffull.org>2025-01-11 22:08:47 -0800
committerTom Kirchner <git@halffull.org>2025-01-11 22:10:48 -0800
commit3993835a35b1f7137c9d8665fb047a42e9ae6f94 (patch)
tree532721d850d2cc73f656298196f4c5fd0fc8800f /src/codecs/include
parentf8199bbd6d7b8bc64d8f58dc5638af8bc36cc73f (diff)
downloadtangara-fw-3993835a35b1f7137c9d8665fb047a42e9ae6f94.tar.gz
Extract gapless info from MP3 LAME header
Diffstat (limited to 'src/codecs/include')
-rw-r--r--src/codecs/include/mad.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codecs/include/mad.hpp b/src/codecs/include/mad.hpp
index 274862f7..fba3ef11 100644
--- a/src/codecs/include/mad.hpp
+++ b/src/codecs/include/mad.hpp
@@ -39,6 +39,7 @@ class MadMp3Decoder : public ICodec {
auto SkipID3Tags(IStream& stream) -> std::optional<uint32_t>;
struct Mp3Info {
+ uint16_t starting_sample;
uint32_t length;
std::optional<uint32_t> bytes;
std::optional<std::span<const unsigned char, 100>> toc;