From d8b9230ee4770095b0848aa38752e19d0090dd6a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 26 Nov 2018 21:29:11 -0800 Subject: Use a standard mutex for the backend lock --- OpenAL32/alSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenAL32/alSource.cpp') diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp index 37805376..0515074c 100644 --- a/OpenAL32/alSource.cpp +++ b/OpenAL32/alSource.cpp @@ -1724,7 +1724,7 @@ ALboolean GetSourcedv(ALsource *Source, ALCcontext *Context, SourceProp prop, AL * clock time with the device latency. Order is important. */ values[0] = GetSourceSecOffset(Source, Context, &srcclock); - { std::lock_guard _{device->BackendLock}; + { std::lock_guard _{device->BackendLock}; clocktime = GetClockLatency(device); } if(srcclock == clocktime.ClockTime) @@ -1987,7 +1987,7 @@ ALboolean GetSourcei64v(ALsource *Source, ALCcontext *Context, SourceProp prop, * clock time with the device latency. Order is important. */ values[0] = GetSourceSampleOffset(Source, Context, &srcclock); - { std::lock_guard _{device->BackendLock}; + { std::lock_guard _{device->BackendLock}; clocktime = GetClockLatency(device); } if(srcclock == clocktime.ClockTime) -- cgit v1.2.3