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_processor.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/audio_processor.h')
| -rw-r--r-- | src/lib/audio_processor.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/audio_processor.h b/src/lib/audio_processor.h index 194c9bf0e..e2f1c48eb 100644 --- a/src/lib/audio_processor.h +++ b/src/lib/audio_processor.h @@ -26,7 +26,6 @@ #define DCPOMATIC_AUDIO_PROCESSOR_H #include "types.h" -#include <boost/shared_ptr.hpp> #include <list> #include <string> #include <vector> @@ -52,9 +51,9 @@ public: /** @return Number of output channels */ virtual int out_channels () const = 0; /** @return A clone of this AudioProcessor for operation at the specified sampling rate */ - virtual boost::shared_ptr<AudioProcessor> clone (int sampling_rate) const = 0; + virtual std::shared_ptr<AudioProcessor> clone (int sampling_rate) const = 0; /** Process some data, returning the processed result truncated or padded to `channels' */ - virtual boost::shared_ptr<AudioBuffers> run (boost::shared_ptr<const AudioBuffers>, int channels) = 0; + virtual std::shared_ptr<AudioBuffers> run (std::shared_ptr<const AudioBuffers>, int channels) = 0; virtual void flush () {} /** Make the supplied audio mapping into a sensible default for this processor */ virtual void make_audio_mapping_default (AudioMapping& mapping) const = 0; |
