aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/alsa.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/alsa.c
parentff5277f4d7057f481a820cf64e2c2db4687bfd5f (diff)
Set a name for the mixer and recording threads
Diffstat (limited to 'Alc/backends/alsa.c')
-rw-r--r--Alc/backends/alsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/backends/alsa.c b/Alc/backends/alsa.c
index f6c0428e..bb30dac5 100644
--- a/Alc/backends/alsa.c
+++ b/Alc/backends/alsa.c
@@ -463,6 +463,7 @@ static ALuint ALSAProc(ALvoid *ptr)
int err;
SetRTPriority();
+ SetThreadName(MIXER_THREAD_NAME);
update_size = Device->UpdateSize;
num_updates = Device->NumUpdates;
@@ -552,6 +553,7 @@ static ALuint ALSANoMMapProc(ALvoid *ptr)
int err;
SetRTPriority();
+ SetThreadName(MIXER_THREAD_NAME);
update_size = Device->UpdateSize;
num_updates = Device->NumUpdates;