diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-07-06 23:23:26 +0200 |
|---|---|---|
| committer | cah <cth@carlh.net> | 2025-07-10 22:49:00 +0200 |
| commit | 4e244c8a4b34268445123b7d6df54ff303561fa5 (patch) | |
| tree | 54b92d242ea518ee0e9d55c20265d5ab963fc7a0 /src/lib/upmixer_a.h | |
| parent | a564301f86068484d98d329971f59b10c7de892e (diff) | |
Allow audio processors to pass through HI/VI/DBox etc (#3020).
Previously you couldn't map these things if you were using a processor.
Diffstat (limited to 'src/lib/upmixer_a.h')
| -rw-r--r-- | src/lib/upmixer_a.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/upmixer_a.h b/src/lib/upmixer_a.h index 9b1e09ee5..fef6af056 100644 --- a/src/lib/upmixer_a.h +++ b/src/lib/upmixer_a.h @@ -40,11 +40,13 @@ public: std::string id() const override; int out_channels() const override; std::shared_ptr<AudioProcessor> clone(int) const override; - std::shared_ptr<AudioBuffers> run(std::shared_ptr<const AudioBuffers>, int channels) override; void flush() override; void make_audio_mapping_default(AudioMapping& mapping) const override; std::vector<NamedChannel> input_names() const override; +protected: + std::shared_ptr<AudioBuffers> do_run(std::shared_ptr<const AudioBuffers>, int channels) override; + private: BandPassAudioFilter _left; BandPassAudioFilter _right; |
