aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/midi')
-rw-r--r--Alc/midi/fluidsynth.c2
-rw-r--r--Alc/midi/soft.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/midi/fluidsynth.c b/Alc/midi/fluidsynth.c
index 1ddf44c3..976fce78 100644
--- a/Alc/midi/fluidsynth.c
+++ b/Alc/midi/fluidsynth.c
@@ -628,7 +628,7 @@ static ALboolean FSynth_init(FSynth *self, ALCdevice *device)
{
ALfloat vol;
- if(ConfigValueFloat("midi", "volume", &vol))
+ if(ConfigValueFloat(NULL, "midi", "volume", &vol))
{
if(!(vol <= 0.0f))
{
diff --git a/Alc/midi/soft.c b/Alc/midi/soft.c
index e8050173..688924d4 100644
--- a/Alc/midi/soft.c
+++ b/Alc/midi/soft.c
@@ -123,7 +123,7 @@ MidiSynth *SSynth_create(ALCdevice *device)
/* This option is temporary. Once this synth is in a more usable state, a
* more generic selector should be used. */
- if(!GetConfigValueBool("midi", "internal-synth", 0))
+ if(!GetConfigValueBool(NULL, "midi", "internal-synth", 0))
{
TRACE("Not using internal MIDI synth\n");
return NULL;