aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/winmm.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-27 07:00:44 -0700
committerChris Robinson <[email protected]>2013-10-27 07:00:44 -0700
commitf93bfab82435b26fd03fe9dd0436f166758810d4 (patch)
treeaa52911dc40edfe86d739e82423c8f5d4731c461 /Alc/backends/winmm.c
parentff5277f4d7057f481a820cf64e2c2db4687bfd5f (diff)
Set a name for the mixer and recording threads
Diffstat (limited to 'Alc/backends/winmm.c')
-rw-r--r--Alc/backends/winmm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/winmm.c b/Alc/backends/winmm.c
index 3b2b373b..e003375c 100644
--- a/Alc/backends/winmm.c
+++ b/Alc/backends/winmm.c
@@ -175,6 +175,7 @@ static DWORD WINAPI PlaybackThreadProc(LPVOID param)
FrameSize = FrameSizeFromDevFmt(Device->FmtChans, Device->FmtType);
SetRTPriority();
+ SetThreadName(MIXER_THREAD_NAME);
while(GetMessage(&msg, NULL, 0, 0))
{
@@ -237,6 +238,7 @@ static DWORD WINAPI CaptureThreadProc(LPVOID param)
MSG msg;
FrameSize = FrameSizeFromDevFmt(Device->FmtChans, Device->FmtType);
+ SetThreadName("alsoft-record");
while(GetMessage(&msg, NULL, 0, 0))
{