diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2020-02-22 00:08:55 -0800 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2020-02-22 00:08:55 -0800 |
commit | 6044e0d7ca142cb06e1dd84096d0c1ea4c67e739 (patch) | |
tree | c8f37f0edca829fe5dd369ae5430268df027194f /al/source.cpp | |
parent | 4660819f6a4737686539843811afb8a226dca626 (diff) |
Remove a couple unnecessary type aliases
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 4 |
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); |