Replace aligned bool with enum Alignment.
[dcpomatic.git] / src / lib / audio_delay.h
index 44e8c009b9464dcb205d03e931d3bff011328da9..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.
+ *  @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;
 };