diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/audio_delay.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/audio_delay.h')
| -rw-r--r-- | src/lib/audio_delay.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/audio_delay.h b/src/lib/audio_delay.h index 44e8c009b..3731013e5 100644 --- a/src/lib/audio_delay.h +++ b/src/lib/audio_delay.h @@ -18,7 +18,9 @@ */ -#include <boost/shared_ptr.hpp> + +#include <memory> + class AudioBuffers; @@ -29,10 +31,10 @@ 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; }; |
