Remove crashing and thought-to-be-unnecessary process_end from DelayLine.
authorCarl Hetherington <cth@carlh.net>
Sat, 2 Feb 2013 23:49:31 +0000 (23:49 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 2 Feb 2013 23:49:31 +0000 (23:49 +0000)
src/lib/delay_line.cc
src/lib/delay_line.h

index 45d8e9d9d36b86f1d79beb9f7db6dca8589e6032..4ad17278169574f6a9af75bd233d7509a80473f3 100644 (file)
@@ -91,12 +91,3 @@ DelayLine::process_audio (shared_ptr<AudioBuffers> data)
 
        Audio (data);
 }
-
-void
-DelayLine::process_end ()
-{
-       if (_frames < 0) {
-               _buffers->make_silent ();
-               Audio (_buffers);
-       }
-}
index fa2870ae76cd4c4252d9c2489804fece215408fe..4d6f1313bd1e5af24fbaf3ed8b61a13312e754cd 100644 (file)
@@ -29,7 +29,6 @@ public:
        DelayLine (Log* log, int channels, int frames);
        
        void process_audio (boost::shared_ptr<AudioBuffers>);
-       void process_end ();
 
 private:
        boost::shared_ptr<AudioBuffers> _buffers;