forward propagate solo-isolated status to everything fed by a route by something...
[ardour.git] / libs / ardour / ardour / graph.h
index c0e29b67350df7f86d4ed150c17615dce7a34281..5d6919f56e17b8f0683c227df542eb676c580c80 100644 (file)
@@ -34,10 +34,10 @@ class GraphSink  {
   public:
        GraphSink () : end_of_input (false) {}
        virtual ~GraphSink () { end_of_input = false; }
-       
+
        // writes data and return number of frames written
        virtual nframes_t write (T * data, nframes_t frames) = 0;
-       
+
        // Notifies end of input. All left over data must be written at this stage
        virtual void set_end_of_input (bool state = true)
        {
@@ -54,7 +54,7 @@ class GraphSource  {
   public:
        GraphSource () {}
        virtual ~GraphSource () {}
-       
+
        virtual nframes_t read (T * data, nframes_t frames) = 0;
 };
 
@@ -64,19 +64,19 @@ class GraphSinkVertex : public GraphSink<TIn> {
   public:
        GraphSinkVertex () {}
        virtual ~GraphSinkVertex () {}
-       
+
        void pipe_to (boost::shared_ptr<GraphSink<TOut> > dest) {
                piped_to = dest;
        }
-       
+
        nframes_t write (TIn * data, nframes_t frames)
        {
                if (!piped_to) {
                        return -1;
                }
                return process (data, frames);
-       }       
-       
+       }
+
        virtual void set_end_of_input (bool state = true)
        {
                if (!piped_to) {
@@ -85,10 +85,10 @@ class GraphSinkVertex : public GraphSink<TIn> {
                piped_to->set_end_of_input (state);
                GraphSink<TIn>::end_of_input = state;
        }
-       
+
   protected:
        boost::shared_ptr<GraphSink<TOut> > piped_to;
-       
+
        /* process must process data,
           use piped_to->write to write the data
           and return number of frames written */