From a2c1dfbabddc2b4abaf8bf27c9ed9d1b99594859 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 15 Jun 2023 10:33:46 +1000 Subject: Add vorbis and flac decoders, flesh out codec interface vorbis doesn't quite work yet, not sure why. will pick it up again later. --- src/audio/include/stream_info.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/audio/include/stream_info.hpp') diff --git a/src/audio/include/stream_info.hpp b/src/audio/include/stream_info.hpp index 91b2f085..54b87003 100644 --- a/src/audio/include/stream_info.hpp +++ b/src/audio/include/stream_info.hpp @@ -6,6 +6,7 @@ #pragma once +#include #include #include #include @@ -30,6 +31,9 @@ struct StreamInfo { // generated audio, etc.) std::optional length_bytes{}; + // + std::optional seek_to_seconds{}; + struct Encoded { // The codec that this stream is associated with. codecs::StreamType type; -- cgit v1.2.3