diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-07-07 15:30:19 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-07-07 15:30:19 +1000 |
| commit | b6e0e0dd4a177614797b6c6ac3b0c213d5a56f8a (patch) | |
| tree | 1bf97a9455e27840c4c6d65bc9cc9832e8379dea /src/codecs/include | |
| parent | 5af0ff2972023f35d8930ab3189cf04f6d9ff21b (diff) | |
| parent | 39f7545cd5ef7a30bbd482f3579df7744c6b688d (diff) | |
| download | tangara-fw-b6e0e0dd4a177614797b6c6ac3b0c213d5a56f8a.tar.gz | |
Merge branch 'functional-playing'
Diffstat (limited to 'src/codecs/include')
| -rw-r--r-- | src/codecs/include/codec.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/codecs/include/codec.hpp b/src/codecs/include/codec.hpp index 4b5ab47f..299b16e4 100644 --- a/src/codecs/include/codec.hpp +++ b/src/codecs/include/codec.hpp @@ -7,6 +7,7 @@ #pragma once #include <stdint.h> +#include <sys/_stdint.h> #include <cstddef> #include <cstdint> @@ -50,6 +51,9 @@ class ICodec { uint8_t num_channels; uint8_t bits_per_sample; uint32_t sample_rate_hz; + + std::optional<uint32_t> duration_seconds; + std::optional<uint32_t> bits_per_second; }; /* |
