projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the build for older macOS.
[dcpomatic.git]
/
src
/
lib
/
audio_delay.h
diff --git
a/src/lib/audio_delay.h
b/src/lib/audio_delay.h
index 22be33478b58dbf4d152ceb49a4ec80179c31e27..5f3f89a6596d9037e86a1c217ce1f8008c60e20a 100644
(file)
--- a/
src/lib/audio_delay.h
+++ b/
src/lib/audio_delay.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2015
-2021
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,18
+18,24
@@
*/
*/
-#include <boost/shared_ptr.hpp>
+
+#include <memory>
+
class AudioBuffers;
class AudioBuffers;
+
+/** @class AudioDelay
+ * @brief An audio delay line
+ */
class AudioDelay
{
public:
explicit AudioDelay (int samples);
class AudioDelay
{
public:
explicit AudioDelay (int samples);
-
boost::shared_ptr<AudioBuffers> run (boost
::shared_ptr<const AudioBuffers> in);
+
std::shared_ptr<AudioBuffers> run (std
::shared_ptr<const AudioBuffers> in);
void flush ();
private:
void flush ();
private:
-
boost
::shared_ptr<AudioBuffers> _tail;
+
std
::shared_ptr<AudioBuffers> _tail;
int _samples;
};
int _samples;
};