diff options
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r-- | Alc/backends/wave.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c index 728b4d91..6b47c611 100644 --- a/Alc/backends/wave.c +++ b/Alc/backends/wave.c @@ -210,7 +210,7 @@ static ALCenum ALCwaveBackend_open(ALCwaveBackend *self, const ALCchar *name) ALCdevice *device; const char *fname; - fname = GetConfigValue("wave", "file", ""); + fname = GetConfigValue(NULL, "wave", "file", ""); if(!fname[0]) return ALC_INVALID_VALUE; if(!name) @@ -248,7 +248,7 @@ static ALCboolean ALCwaveBackend_reset(ALCwaveBackend *self) fseek(self->mFile, 0, SEEK_SET); clearerr(self->mFile); - if(GetConfigValueBool("wave", "bformat", 0)) + if(GetConfigValueBool(NULL, "wave", "bformat", 0)) device->FmtChans = DevFmtBFormat3D; switch(device->FmtType) @@ -412,7 +412,7 @@ static ALCboolean ALCwaveBackendFactory_init(ALCwaveBackendFactory* UNUSED(self) static ALCboolean ALCwaveBackendFactory_querySupport(ALCwaveBackendFactory* UNUSED(self), ALCbackend_Type type) { if(type == ALCbackend_Playback) - return !!ConfigValueExists("wave", "file"); + return !!ConfigValueExists(NULL, "wave", "file"); return ALC_FALSE; } |