Changeset - r23566:429c76c0dfda
[Not reviewed]
master
0 1 0
Niels Martin Hansen - 5 years ago 2019-03-10 18:45:49
nielsm@indvikleren.dk
Fix: Fluidsynth should not try to lock sample data in memory
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/music/fluidsynth.cpp
Show inline comments
 
@@ -58,6 +58,8 @@ const char *MusicDriver_FluidSynth::Star
 
	/* Create the settings. */
 
	_midi.settings = new_fluid_settings();
 
	if (!_midi.settings) return "Could not create midi settings";
 
	/* Don't try to lock sample data in memory, OTTD usually does not run with privileges allowing that */
 
	fluid_settings_setint(_midi.settings, "synth.lock-memory", 0);
 

	
 
	/* Create the synthesizer. */
 
	_midi.synth = new_fluid_synth(_midi.settings);
0 comments (0 inline, 0 general)