diff options
Diffstat (limited to 'Alc/backends/wave.cpp')
-rw-r--r-- | Alc/backends/wave.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/wave.cpp b/Alc/backends/wave.cpp index 2b10d286..ea57ba65 100644 --- a/Alc/backends/wave.cpp +++ b/Alc/backends/wave.cpp @@ -193,9 +193,9 @@ static int ALCwaveBackend_mixerProc(ALCwaveBackend *self) if(ferror(self->mFile)) { ERR("Error writing to file\n"); - ALCdevice_Lock(device); + ALCwaveBackend_lock(self); aluHandleDisconnect(device, "Failed to write playback samples"); - ALCdevice_Unlock(device); + ALCwaveBackend_unlock(self); break; } } |