summaryrefslogtreecommitdiff
path: root/src/codecs/include/codec.hpp
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-02-15 16:12:07 +1100
committerailurux <ailuruxx@gmail.com>2024-02-15 16:12:07 +1100
commit62f6179abe24339c2e5b7350528afbcad4c52067 (patch)
treed14f0b35ef601d0877ced507c5560236da666218 /src/codecs/include/codec.hpp
parente466522c25758670da335195d60a5d599ed56177 (diff)
downloadtangara-fw-62f6179abe24339c2e5b7350528afbcad4c52067.tar.gz
Added offset for track seeking, wav impl. only rn
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 8aa391b6..fb1ec771 100644
--- a/src/codecs/include/codec.hpp
+++ b/src/codecs/include/codec.hpp
@@ -117,7 +117,7 @@ class ICodec {
* Decodes metadata or headers from the given input stream, and returns the
* format for the samples that will be decoded from it.
*/
- virtual auto OpenStream(std::shared_ptr<IStream> input)
+ virtual auto OpenStream(std::shared_ptr<IStream> input,uint32_t offset)
-> cpp::result<OutputFormat, Error> = 0;
struct OutputInfo {