diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-24 01:02:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-24 01:02:25 +0100 |
| commit | 8dd9ea3086b4934f2719648ffa6333c0d106ff36 (patch) | |
| tree | 15f334ab2d096d0a7f310c1427ff8a3107eae069 /src/lib/delay_line.cc | |
| parent | be1862fefb1378c78bcc4bd6334694797755ea47 (diff) | |
Some const correctness.
Diffstat (limited to 'src/lib/delay_line.cc')
| -rw-r--r-- | src/lib/delay_line.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/delay_line.cc b/src/lib/delay_line.cc index 9e6baeba8..b0180800a 100644 --- a/src/lib/delay_line.cc +++ b/src/lib/delay_line.cc @@ -37,7 +37,7 @@ DelayLine::DelayLine (shared_ptr<Log> log, double seconds) } void -DelayLine::process_audio (shared_ptr<AudioBuffers> data, double t) +DelayLine::process_audio (shared_ptr<const AudioBuffers> data, double t) { if (_seconds > 0) { t += _seconds; @@ -47,7 +47,7 @@ DelayLine::process_audio (shared_ptr<AudioBuffers> data, double t) } void -DelayLine::process_video (boost::shared_ptr<Image> image, bool same, boost::shared_ptr<Subtitle> sub, double t) +DelayLine::process_video (shared_ptr<const Image> image, bool same, boost::shared_ptr<Subtitle> sub, double t) { if (_seconds < 0) { t += _seconds; |
