spelling error fixes (notably "overriden" => "overidden") from IOhannes m zmölnig
[ardour.git] / libs / audiographer / audiographer / utils / identity_vertex.h
1 #ifndef AUDIOGRAPHER_IDENTITY_VERTEX_H
2 #define AUDIOGRAPHER_IDENTITY_VERTEX_H
3
4 #include "audiographer/visibility.h"
5 #include "audiographer/types.h"
6 #include "audiographer/utils/listed_source.h"
7 #include "audiographer/sink.h"
8
9 namespace AudioGrapher
10 {
11
12 /// Outputs its input directly to a number of Sinks
13 template<typename T = DefaultSampleType>
14 class /*LIBAUDIOGRAPHER_API*/ IdentityVertex : public ListedSource<T>, Sink<T>
15 {
16   public:
17         void process (ProcessContext<T> const & c) { ListedSource<T>::output(c); }
18         void process (ProcessContext<T> & c) { ListedSource<T>::output(c); }
19 };
20
21
22 } // namespace
23
24 #endif // AUDIOGRAPHER_IDENTITY_VERTEX_H