diff options
Diffstat (limited to 'al/effect.cpp')
-rw-r--r-- | al/effect.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/al/effect.cpp b/al/effect.cpp index 93aa5547..645e41df 100644 --- a/al/effect.cpp +++ b/al/effect.cpp @@ -233,7 +233,7 @@ START_API_FUNC context->setError(AL_INVALID_VALUE, "Generating %d effects", n); if UNLIKELY(n <= 0) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; if(!EnsureEffects(device, static_cast<ALuint>(n))) { @@ -273,7 +273,7 @@ START_API_FUNC context->setError(AL_INVALID_VALUE, "Deleting %d effects", n); if UNLIKELY(n <= 0) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; /* First try to find any effects that are invalid. */ @@ -304,7 +304,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if LIKELY(context) { - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; if(!effect || LookupEffect(device, effect)) return AL_TRUE; @@ -319,7 +319,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if UNLIKELY(!context) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; ALeffect *aleffect{LookupEffect(device, effect)}; @@ -369,7 +369,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if UNLIKELY(!context) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; ALeffect *aleffect{LookupEffect(device, effect)}; @@ -392,7 +392,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if UNLIKELY(!context) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; ALeffect *aleffect{LookupEffect(device, effect)}; @@ -415,7 +415,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if UNLIKELY(!context) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; ALeffect *aleffect{LookupEffect(device, effect)}; @@ -438,7 +438,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if UNLIKELY(!context) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; const ALeffect *aleffect{LookupEffect(device, effect)}; @@ -470,7 +470,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if UNLIKELY(!context) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; const ALeffect *aleffect{LookupEffect(device, effect)}; @@ -493,7 +493,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if UNLIKELY(!context) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; const ALeffect *aleffect{LookupEffect(device, effect)}; @@ -516,7 +516,7 @@ START_API_FUNC ContextRef context{GetContextRef()}; if UNLIKELY(!context) return; - ALCdevice *device{context->mDevice.get()}; + ALCdevice *device{context->mALDevice.get()}; std::lock_guard<std::mutex> _{device->EffectLock}; const ALeffect *aleffect{LookupEffect(device, effect)}; |