aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-12-21 10:38:40 -0800
committerChris Robinson <[email protected]>2014-12-21 10:38:40 -0800
commit28a9f0826c8ab7a645d1cd60151d6590ec490c1b (patch)
treebf585d7b08fdc0dfec8537934aeefa4f1329c450 /Alc
parent6574fa4863d3f913ab99ccca9a699e1125c2d11e (diff)
Use a macro for the record thread name
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/mmdevapi.c2
-rw-r--r--Alc/backends/oss.c2
-rw-r--r--Alc/backends/winmm.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c
index 2e7f4e7b..c5e5f87e 100644
--- a/Alc/backends/mmdevapi.c
+++ b/Alc/backends/mmdevapi.c
@@ -1206,7 +1206,7 @@ FORCE_ALIGN int ALCmmdevCapture_recordProc(void *arg)
return 1;
}
- althrd_setname(althrd_current(), "alsoft-record");
+ althrd_setname(althrd_current(), RECORD_THREAD_NAME);
while(!self->killNow)
{
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c
index 631a496e..e4478515 100644
--- a/Alc/backends/oss.c
+++ b/Alc/backends/oss.c
@@ -345,7 +345,7 @@ static int ALCcaptureOSS_recordProc(void *ptr)
int amt;
SetRTPriority();
- althrd_setname(althrd_current(), "alsoft-record");
+ althrd_setname(althrd_current(), RECORD_THREAD_NAME);
frameSize = FrameSizeFromDevFmt(device->FmtChans, device->FmtType);
diff --git a/Alc/backends/winmm.c b/Alc/backends/winmm.c
index fe2701b0..03805ab8 100644
--- a/Alc/backends/winmm.c
+++ b/Alc/backends/winmm.c
@@ -503,7 +503,7 @@ static int ALCwinmmCapture_captureProc(void *arg)
WAVEHDR *WaveHdr;
MSG msg;
- althrd_setname(althrd_current(), "alsoft-record");
+ althrd_setname(althrd_current(), RECORD_THREAD_NAME);
while(GetMessage(&msg, NULL, 0, 0))
{