summaryrefslogtreecommitdiff
path: root/src/codecs/include
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-08-10 21:34:48 +1000
committerjacqueline <me@jacqueline.id.au>2023-08-10 21:35:16 +1000
commitc37ccb985125f5efdf7600989331085f60d8a973 (patch)
tree4c0cbce4d9111e82a180e73b7021e23eb6a4b0db /src/codecs/include
parent958160aa545e3d91b2a4f1a367817e73d298e8a9 (diff)
downloadtangara-fw-c37ccb985125f5efdf7600989331085f60d8a973.tar.gz
Reintroduce track timer, now relying more on codecs
Diffstat (limited to 'src/codecs/include')
-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 ece3d4fe..2f95389c 100644
--- a/src/codecs/include/codec.hpp
+++ b/src/codecs/include/codec.hpp
@@ -91,7 +91,7 @@ class ICodec {
struct OutputFormat {
uint8_t num_channels;
uint32_t sample_rate_hz;
- std::optional<uint32_t> duration_seconds;
+ std::optional<uint32_t> total_samples;
bool operator==(const OutputFormat&) const = default;
};