/*
- 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;
};