From dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 4 Jan 2021 21:16:53 +0100 Subject: std::shared_ptr --- src/lib/audio_processor.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/audio_processor.h') 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 #include #include #include @@ -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 clone (int sampling_rate) const = 0; + virtual std::shared_ptr clone (int sampling_rate) const = 0; /** Process some data, returning the processed result truncated or padded to `channels' */ - virtual boost::shared_ptr run (boost::shared_ptr, int channels) = 0; + virtual std::shared_ptr run (std::shared_ptr, 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; -- cgit v1.2.3