diff options
author | Chris Robinson <[email protected]> | 2018-11-13 18:05:10 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-13 18:41:24 -0800 |
commit | 7088f4e34a8557f2c73ee6635b3c7bf4ec958c63 (patch) | |
tree | 48fcff3de36d357a0cdbd97840a93e9bdd3be30e /Alc/backends/wave.cpp | |
parent | 0dfb805fa2f85bed47612a75628d7d9742877b26 (diff) |
Avoid calling through the vtable in the backends
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; } } |