From 7f38d676e69639a7825e506618613051651968cf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 15 Jul 2014 13:15:02 +0100 Subject: Add simple stereo-5.1 upmixer. --- src/lib/audio_processor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/audio_processor.h') diff --git a/src/lib/audio_processor.h b/src/lib/audio_processor.h index 7ff9f0ec6..9b332e7fe 100644 --- a/src/lib/audio_processor.h +++ b/src/lib/audio_processor.h @@ -36,8 +36,9 @@ public: virtual std::string id () const = 0; virtual ChannelCount in_channels () const = 0; virtual int out_channels (int) const = 0; - virtual boost::shared_ptr clone () const = 0; + virtual boost::shared_ptr clone (int sampling_rate) const = 0; virtual boost::shared_ptr run (boost::shared_ptr) = 0; + virtual void flush () {} static std::list all (); static void setup_audio_processors (); -- cgit v1.2.3