From 6044e0d7ca142cb06e1dd84096d0c1ea4c67e739 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 22 Feb 2020 00:08:55 -0800 Subject: Remove a couple unnecessary type aliases --- al/source.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'al/source.cpp') 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 _{*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 _{*device->Backend}; if(ALvoice *voice{GetSourceVoice(Source, Context)}) { auto vpos = GetSampleOffset(Source); -- cgit v1.2.3