DEADSOFTWARE

add cvar for soundfont selection
authorfgsfds <pvt.fgsfds@gmail.com>
Mon, 2 Sep 2019 18:53:56 +0000 (21:53 +0300)
committerfgsfds <pvt.fgsfds@gmail.com>
Mon, 2 Sep 2019 18:53:56 +0000 (21:53 +0300)
src/game/g_sound.pas

index 8623b5f7ebd5294487650f3cb1c7a16b64617f77..20ae02e2e53ff8bc1c4378f413e8536e2375da0f 100644 (file)
@@ -634,4 +634,11 @@ begin
   Pause(Enable);
 end;
 
+{$IFDEF USE_OPENAL}
+initialization
+  {$IF DEFINED(USE_FLUIDSYNTH)}
+  conRegVar('s_midi_soundfont', @e_SoundFont, 'soundfont to use for midi playback', 'midi soundfont');
+  {$ENDIF}
+{$ENDIF}
+
 end.