aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/oss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/oss.cpp')
-rw-r--r--Alc/backends/oss.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/oss.cpp b/Alc/backends/oss.cpp
index cf95bcfe..ebe4b15a 100644
--- a/Alc/backends/oss.cpp
+++ b/Alc/backends/oss.cpp
@@ -296,7 +296,7 @@ int ALCplaybackOSS_mixerProc(ALCplaybackOSS *self)
int sret;
SetRTPriority();
- althrd_setname(althrd_current(), MIXER_THREAD_NAME);
+ althrd_setname(MIXER_THREAD_NAME);
frame_size = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder);
@@ -558,7 +558,7 @@ int ALCcaptureOSS_recordProc(ALCcaptureOSS *self)
int sret;
SetRTPriority();
- althrd_setname(althrd_current(), RECORD_THREAD_NAME);
+ althrd_setname(RECORD_THREAD_NAME);
frame_size = FrameSizeFromDevFmt(device->FmtChans, device->FmtType, device->AmbiOrder);