Revert "Split timed from untimed sinks / sources. Should produce same output, in...
[dcpomatic.git] / src / lib / delay_line.cc
index 84785cfc69780f33e13bad00992f61cf563f891b..4ad17278169574f6a9af75bd233d7509a80473f3 100644 (file)
@@ -31,7 +31,7 @@ using boost::shared_ptr;
  *  @param frames Delay in frames, +ve to move audio later.
  */
 DelayLine::DelayLine (Log* log, int channels, int frames)
-       : Processor (log)
+       : AudioProcessor (log)
        , _negative_delay_remaining (0)
        , _frames (frames)
 {
@@ -47,9 +47,8 @@ DelayLine::DelayLine (Log* log, int channels, int frames)
        }
 }
 
-/* XXX: can we just get rid of all this and fiddle with the timestamp? */
 void
-DelayLine::process_audio (shared_ptr<AudioBuffers> data, double t)
+DelayLine::process_audio (shared_ptr<AudioBuffers> data)
 {
        if (_buffers) {
                /* We have some buffers, so we are moving the audio later */
@@ -90,5 +89,5 @@ DelayLine::process_audio (shared_ptr<AudioBuffers> data, double t)
                }
        }
 
-       Audio (data, t);
+       Audio (data);
 }