1 #ifndef AUDIOGRAPHER_SOURCE_H
2 #define AUDIOGRAPHER_SOURCE_H
23 typedef std::shared_ptr<Sink<T> >
SinkPtr;
#define LIBAUDIOGRAPHER_API
virtual void add_output(SinkPtr output)=0
Adds an output to this source. All data generated is forwarded to output.
virtual void clear_outputs()=0
Removes all outputs added.
std::shared_ptr< Sink< T > > SinkPtr
virtual void remove_output(SinkPtr output)=0
Removes a specific output from this source.