aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputThread.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/OutputThread.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OutputThread.cxx b/src/OutputThread.cxx
index b56e7f1ca..f7e28b5f4 100644
--- a/src/OutputThread.cxx
+++ b/src/OutputThread.cxx
@@ -31,6 +31,7 @@
#include "MusicPipe.hxx"
#include "MusicChunk.hxx"
#include "thread/Util.hxx"
+#include "thread/Name.hxx"
#include "system/FatalError.hxx"
#include "util/Error.hxx"
#include "Log.hxx"
@@ -579,6 +580,8 @@ audio_output_task(void *arg)
{
struct audio_output *ao = (struct audio_output *)arg;
+ FormatThreadName("output:%s", ao->name);
+
SetThreadRealtime();
ao->mutex.lock();