blob: b53bd96851ba1d789d8fbd80dd78f3d50c5d8bc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef AUDIOGRAPHER_IDENTITY_VERTEX_H
#define AUDIOGRAPHER_IDENTITY_VERTEX_H
#include "listed_source.h"
#include "sink.h"
namespace AudioGrapher
{
template<typename T>
class IdentityVertex : public ListedSource<T>, Sink<T>
{
public:
void process (ProcessContext<T> const & c) { ListedSource<T>::output(c); }
void process (ProcessContext<T> & c) { ListedSource<T>::output(c); }
};
} // namespace
#endif // AUDIOGRAPHER_IDENTITY_VERTEX_H
|