diff options
author | waker <wakeroid@gmail.com> | 2009-08-22 19:35:48 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-22 19:35:48 +0200 |
commit | c4645c4495bd745cee9f7e20b0a4d15bc52e98b9 (patch) | |
tree | 54b3b4cbafad32e535a459815b3e8688b10e60f7 /palsa.c | |
parent | f1aa2ed080d9976915b88c5d1777efc1b8223828 (diff) |
added thread name setting; fixed some commandline issues
Diffstat (limited to 'palsa.c')
-rw-r--r-- | palsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,7 @@ #include <alsa/asoundlib.h> #include <stdint.h> #include <unistd.h> +#include <sys/prctl.h> #include "palsa.h" #include "threading.h" #include "streamer.h" @@ -277,6 +278,7 @@ palsa_get_rate (void) { static void palsa_thread (uintptr_t context) { + prctl (PR_SET_NAME, "deadbeef-alsa", 0, 0, 0, 0); int err; for (;;) { if (alsa_terminate) { |