X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_delay.h;h=5f3f89a6596d9037e86a1c217ce1f8008c60e20a;hb=182b9d2e2feb6545592868606aaf0f0146095481;hp=22be33478b58dbf4d152ceb49a4ec80179c31e27;hpb=a69d242f3f00207d6ea7320e6723775f4b0dbfb3;p=dcpomatic.git diff --git a/src/lib/audio_delay.h b/src/lib/audio_delay.h index 22be33478..5f3f89a65 100644 --- a/src/lib/audio_delay.h +++ b/src/lib/audio_delay.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015 Carl Hetherington + Copyright (C) 2015-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,18 +18,24 @@ */ -#include + +#include + class AudioBuffers; + +/** @class AudioDelay + * @brief An audio delay line + */ class AudioDelay { public: explicit AudioDelay (int samples); - boost::shared_ptr run (boost::shared_ptr in); + std::shared_ptr run (std::shared_ptr in); void flush (); private: - boost::shared_ptr _tail; + std::shared_ptr _tail; int _samples; };