summaryrefslogtreecommitdiff
path: root/src/audio/include/audio_element.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/include/audio_element.hpp')
-rw-r--r--src/audio/include/audio_element.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio/include/audio_element.hpp b/src/audio/include/audio_element.hpp
index 133a6ae7..7e3d9d7d 100644
--- a/src/audio/include/audio_element.hpp
+++ b/src/audio/include/audio_element.hpp
@@ -10,6 +10,7 @@
#include <cstdint>
#include <deque>
#include <memory>
+#include <vector>
#include "freertos/FreeRTOS.h"
@@ -46,6 +47,8 @@ class IAudioElement {
IAudioElement() {}
virtual ~IAudioElement() {}
+ virtual auto NeedsToProcess() const -> bool = 0;
+
virtual auto Process(const std::vector<InputStream>& inputs,
OutputStream* output) -> void = 0;
};