shithub: choc

Download patch

ref: cc0e4a0b1db6345b8c358344786f5aa5c1d8a615
parent: 2d12a652c35ba446a896bbe56c7eb0e806773a08
author: Turo Lamminen <turol@iki.fi>
date: Mon Sep 5 19:06:06 EDT 2022

setup: Remove static from some variables that are about to become extern

--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -68,8 +68,8 @@
 static int musicVolume = 8;
 static int voiceVolume = 15;
 static int show_talk = 0;
-static int use_libsamplerate = 0;
-static float libsamplerate_scale = 0.65;
+int use_libsamplerate = 0;
+float libsamplerate_scale = 0.65;
 
 static char *music_pack_path = NULL;
 static char *timidity_cfg_path = NULL;