X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_delay.h;h=5f3f89a6596d9037e86a1c217ce1f8008c60e20a;hb=c7916079e06d985121842962b9736a6673e22dfe;hp=644ca1fb465138df374787b722d6c4e0f672cb50;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/audio_delay.h b/src/lib/audio_delay.h index 644ca1fb4..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: - AudioDelay (int samples); - boost::shared_ptr run (boost::shared_ptr in); + explicit AudioDelay (int samples); + std::shared_ptr run (std::shared_ptr in); void flush (); private: - boost::shared_ptr _tail; + std::shared_ptr _tail; int _samples; };