aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/al/source.cpp b/al/source.cpp
index 9d6fd8be..63212bee 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -988,7 +988,7 @@ bool SetSourcefv(ALsource *Source, ALCcontext *Context, SourceProp prop, const a
if(IsPlayingOrPaused(Source))
{
ALCdevice *device{Context->mDevice.get()};
- BackendLockGuard _{*device->Backend};
+ std::lock_guard<BackendBase> _{*device->Backend};
/* Double-check that the source is still playing while we have the
* lock.
*/
@@ -1215,7 +1215,7 @@ bool SetSourceiv(ALsource *Source, ALCcontext *Context, SourceProp prop, const a
if(IsPlayingOrPaused(Source))
{
- BackendLockGuard _{*device->Backend};
+ std::lock_guard<BackendBase> _{*device->Backend};
if(ALvoice *voice{GetSourceVoice(Source, Context)})
{
auto vpos = GetSampleOffset(Source);