aboutsummaryrefslogtreecommitdiff
path: root/core/qmpmidioutfluid.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2021-01-23 18:32:13 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2021-01-23 18:32:13 +0800
commitf4f0d6195457c3c8c55a41a4dd4869d6653957c3 (patch)
treeb4fd028cd53ad680db3e3bc308d560244603fb5a /core/qmpmidioutfluid.hpp
parentfd7240ae1439b607c267d155e0fcfd2800d87f33 (diff)
downloadQMidiPlayer-f4f0d6195457c3c8c55a41a4dd4869d6653957c3.tar.xz
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...)
Diffstat (limited to 'core/qmpmidioutfluid.hpp')
-rw-r--r--core/qmpmidioutfluid.hpp1
1 files changed, 1 insertions, 0 deletions
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();