summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-03-17 11:49:17 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-03-17 11:49:17 +0100
commit5f6c91e67d3a815aa52b2d2301c19f9a5f1bc63b (patch)
tree01cc6b0364fd76d2684f23a01a2317084a1347f7
parentc31496c68f2bbbab71c15635a2053f52e7a0ecf8 (diff)
downloaddabmod-5f6c91e67d3a815aa52b2d2301c19f9a5f1bc63b.tar.gz
dabmod-5f6c91e67d3a815aa52b2d2301c19f9a5f1bc63b.tar.bz2
dabmod-5f6c91e67d3a815aa52b2d2301c19f9a5f1bc63b.zip
Set thread priority for PipelinedModCodec threads
-rw-r--r--src/ModPlugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ModPlugin.cpp b/src/ModPlugin.cpp
index 314a689..34ad797 100644
--- a/src/ModPlugin.cpp
+++ b/src/ModPlugin.cpp
@@ -119,6 +119,7 @@ int PipelinedModCodec::process(Buffer* dataIn, Buffer* dataOut)
void PipelinedModCodec::process_thread()
{
set_thread_name(name());
+ set_realtime_prio(1);
while (m_running) {
std::shared_ptr<Buffer> dataIn;