summaryrefslogtreecommitdiffstats
path: root/Alc/backends/oss.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/oss.c
parentff5277f4d7057f481a820cf64e2c2db4687bfd5f (diff)
Set a name for the mixer and recording threads
Diffstat (limited to 'Alc/backends/oss.c')
-rw-r--r--Alc/backends/oss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c
index 0ed49517..892e2327 100644
--- a/Alc/backends/oss.c
+++ b/Alc/backends/oss.c
@@ -85,6 +85,7 @@ static ALuint OSSProc(ALvoid *ptr)
ssize_t wrote;
SetRTPriority();
+ SetThreadName(MIXER_THREAD_NAME);
frameSize = FrameSizeFromDevFmt(Device->FmtChans, Device->FmtType);
@@ -128,6 +129,7 @@ static ALuint OSSCaptureProc(ALvoid *ptr)
int amt;
SetRTPriority();
+ SetThreadName("alsoft-record");
frameSize = FrameSizeFromDevFmt(Device->FmtChans, Device->FmtType);