arduino-audio-tools
Loading...
Searching...
No Matches
ITask.h
Go to the documentation of this file.
1#pragma once
2
3namespace audio_tools {
4
10class ITask {
11 public:
12 virtual ~ITask() = default;
13 virtual bool begin(std::function<void()> process) = 0;
14 virtual void end() = 0;
15};
16
17} // namespace audio_tools
Interface for a task that can be started and stopped.
Definition ITask.h:10
virtual ~ITask()=default
virtual bool begin(std::function< void()> process)=0
virtual void end()=0
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition AudioCodecsBase.h:10