aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index e0e7f8e..b5e3568 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -751,6 +751,10 @@ int launch_modulator(int argc, char* argv[])
}
#endif
+ // Set thread priority to realtime
+ if (int r = set_realtime_prio(1)) {
+ etiLog.level(error) << "Could not set priority for modulator:" << r;
+ }
while (run_again) {
Flowgraph flowgraph;