diff options
author | Chris Robinson <[email protected]> | 2014-04-17 20:41:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-04-17 20:41:32 -0700 |
commit | 36df67f546c3162e06964ca6a2466023647c7485 (patch) | |
tree | 8a7ed509289f839cf0149025a7284ba07aadaba4 /Alc/backends/winmm.c | |
parent | 528c8c5e774b28b74393b5517d8bee268f1d9624 (diff) |
Rename SetThreadName to althrd_setname
Diffstat (limited to 'Alc/backends/winmm.c')
-rw-r--r-- | Alc/backends/winmm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/winmm.c b/Alc/backends/winmm.c index acffd2f3..e5b18372 100644 --- a/Alc/backends/winmm.c +++ b/Alc/backends/winmm.c @@ -192,7 +192,7 @@ FORCE_ALIGN static DWORD WINAPI PlaybackThreadProc(LPVOID param) FrameSize = FrameSizeFromDevFmt(Device->FmtChans, Device->FmtType); SetRTPriority(); - SetThreadName(MIXER_THREAD_NAME); + althrd_setname(althrd_current(), MIXER_THREAD_NAME); while(GetMessage(&msg, NULL, 0, 0)) { @@ -255,7 +255,7 @@ static DWORD WINAPI CaptureThreadProc(LPVOID param) MSG msg; FrameSize = FrameSizeFromDevFmt(Device->FmtChans, Device->FmtType); - SetThreadName("alsoft-record"); + althrd_setname(althrd_current(), "alsoft-record"); while(GetMessage(&msg, NULL, 0, 0)) { |