diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/qmpmidioutfluid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/qmpmidioutfluid.cpp b/core/qmpmidioutfluid.cpp index 22f4aa2..621840e 100644 --- a/core/qmpmidioutfluid.cpp +++ b/core/qmpmidioutfluid.cpp @@ -85,6 +85,11 @@ void qmpMidiOutFluid::deviceInit() , this); if (!adriver) { + adriver = new_fluid_audio_driver(settings, synth); + output_level = 1e9 + 7; + } + if (!adriver) + { fputs("Error creating fluidsynth audio driver!", stderr); delete_fluid_synth(synth); synth = nullptr; |