From 61c91b3cdb2c9dd655f3adf0f461f5cefb3b2e9b Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 10 Feb 2023 15:32:21 +1100 Subject: Mostly working pipeline, including proper EOF signalling --- src/audio/include/audio_element.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/audio/include/audio_element.hpp') diff --git a/src/audio/include/audio_element.hpp b/src/audio/include/audio_element.hpp index c6453d4d..0c80524c 100644 --- a/src/audio/include/audio_element.hpp +++ b/src/audio/include/audio_element.hpp @@ -105,6 +105,8 @@ class IAudioElement { virtual auto ProcessChunk(const cpp::span& chunk) -> cpp::result = 0; + virtual auto ProcessEndOfStream() -> void = 0; + /* * Called when there has been no data received over the input buffer for some * time. This could be used to synthesize output, or to save memory by -- cgit v1.2.3