aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/sndio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/sndio.cpp')
-rw-r--r--Alc/backends/sndio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/sndio.cpp b/Alc/backends/sndio.cpp
index e35ce34e..818e107c 100644
--- a/Alc/backends/sndio.cpp
+++ b/Alc/backends/sndio.cpp
@@ -117,9 +117,9 @@ static int SndioPlayback_mixerProc(void *ptr)
if(wrote == 0)
{
ERR("sio_write failed\n");
- ALCdevice_Lock(device);
+ SndioPlayback_lock(self);
aluHandleDisconnect(device, "Failed to write playback samples");
- ALCdevice_Unlock(device);
+ SndioPlayback_unlock(self);
break;
}