From f4f0d6195457c3c8c55a41a4dd4869d6653957c3 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 23 Jan 2021 18:32:13 +0800 Subject: Pass 4 effect buffers (as it should be) to fluid_synth_process. Also retrieve active voices from the audio processing callback. (the values are still messed up sometimes...) --- core/qmpmidioutfluid.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core/qmpmidioutfluid.hpp') diff --git a/core/qmpmidioutfluid.hpp b/core/qmpmidioutfluid.hpp index 4fdceff..f194c17 100644 --- a/core/qmpmidioutfluid.hpp +++ b/core/qmpmidioutfluid.hpp @@ -30,6 +30,7 @@ private: int default_driver = -1; void update_preset_list(); double output_level; + int voice_count; public: qmpMidiOutFluid(); ~qmpMidiOutFluid(); -- cgit v1.2.3