Fix the build for older macOS.
[dcpomatic.git] / src / lib / audio_delay.h
index 22be33478b58dbf4d152ceb49a4ec80179c31e27..5f3f89a6596d9037e86a1c217ce1f8008c60e20a 100644 (file)
@@ -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.
 
 
 */
 
-#include <boost/shared_ptr.hpp>
+
+#include <memory>
+
 
 class AudioBuffers;
 
+
+/** @class AudioDelay
+ *  @brief An audio delay line
+ */
 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:
-       boost::shared_ptr<AudioBuffers> _tail;
+       std::shared_ptr<AudioBuffers> _tail;
        int _samples;
 };