summaryrefslogtreecommitdiff
path: root/src/codecs/include/codec.hpp
diff options
context:
space:
mode:
authorTom Kirchner <git@halffull.org>2025-01-06 20:53:02 -0800
committerTom Kirchner <git@halffull.org>2025-01-08 20:46:34 -0800
commitfaa62e0c60d51a9df88002a59825b427323259c0 (patch)
treecd0631b047e8b09fbd61ea85ad1a67aa55929a25 /src/codecs/include/codec.hpp
parent829d033a448107f1bc610cf735ce9f7222de564b (diff)
downloadtangara-fw-faa62e0c60d51a9df88002a59825b427323259c0.tar.gz
Add bitrate info
Diffstat (limited to 'src/codecs/include/codec.hpp')
-rw-r--r--src/codecs/include/codec.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codecs/include/codec.hpp b/src/codecs/include/codec.hpp
index 4d588a98..6ff7a267 100644
--- a/src/codecs/include/codec.hpp
+++ b/src/codecs/include/codec.hpp
@@ -106,6 +106,7 @@ class ICodec {
uint8_t num_channels;
uint32_t sample_rate_hz;
std::optional<uint32_t> total_samples;
+ std::optional<uint32_t> bitrate_kbps;
bool operator==(const OutputFormat&) const = default;
};