summaryrefslogtreecommitdiff
path: root/src/codecs/include/codec.hpp
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2025-07-01 14:22:37 +1000
committerailurux <ailuruxx@gmail.com>2025-07-01 14:22:37 +1000
commit42fc963acc81860b7cc794550e13e8920e547d93 (patch)
tree182a7558b2bf7216694429b2c0916390db91dd92 /src/codecs/include/codec.hpp
parent296b15dfca3c32cfa53a3b8d8a84ac6d1421b4a1 (diff)
downloadtangara-fw-42fc963acc81860b7cc794550e13e8920e547d93.tar.gz
Increase size of sample count fields in MP3 decoder (fixes #408)
Diffstat (limited to 'src/codecs/include/codec.hpp')
-rw-r--r--src/codecs/include/codec.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codecs/include/codec.hpp b/src/codecs/include/codec.hpp
index 6ff7a267..42ce9844 100644
--- a/src/codecs/include/codec.hpp
+++ b/src/codecs/include/codec.hpp
@@ -105,7 +105,7 @@ class ICodec {
struct OutputFormat {
uint8_t num_channels;
uint32_t sample_rate_hz;
- std::optional<uint32_t> total_samples;
+ std::optional<uint64_t> total_samples;
std::optional<uint32_t> bitrate_kbps;
bool operator==(const OutputFormat&) const = default;