projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make C++ flags available from makedcp.
[dcpomatic.git]
/
src
/
lib
/
delay_line.h
diff --git
a/src/lib/delay_line.h
b/src/lib/delay_line.h
index c51784f353ab7edbbdcd373f6bcb42da5957bf8c..781dce88a63938f611b76179029851eee0d6715c 100644
(file)
--- a/
src/lib/delay_line.h
+++ b/
src/lib/delay_line.h
@@
-20,18
+20,15
@@
#include <boost/shared_ptr.hpp>
#include "processor.h"
#include <boost/shared_ptr.hpp>
#include "processor.h"
-class AudioBuffers;
-
-/** A delay line for audio */
-class DelayLine : public AudioProcessor
+/** A delay line */
+class DelayLine : public TimedAudioVideoProcessor
{
public:
{
public:
- DelayLine (boost::shared_ptr<Log> log,
int channels, int frames
);
+ DelayLine (boost::shared_ptr<Log> log,
double
);
- void process_audio (boost::shared_ptr<AudioBuffers>);
+ void process_video (boost::shared_ptr<const Image>, bool, boost::shared_ptr<Subtitle>, double);
+ void process_audio (boost::shared_ptr<const AudioBuffers>, double);
private:
private:
- boost::shared_ptr<AudioBuffers> _buffers;
- int _negative_delay_remaining; ///< number of frames of negative delay that remain to emit
- int _frames;
+ double _seconds;
};
};