{event,output}/Thread: downgrade realtime scheduling errors to "info"

These messages can be confusing, but they are not critical.
This commit is contained in:
Max Kellermann 2019-05-23 13:52:03 +02:00
parent 3d2b180cf8
commit 9d1906da8a
2 changed files with 4 additions and 4 deletions

View File

@ -57,8 +57,8 @@ EventThread::Run() noexcept
try {
SetThreadRealtime();
} catch (...) {
LogError(std::current_exception(),
"RTIOThread could not get realtime scheduling, continuing anyway");
Log(LogLevel::INFO, std::current_exception(),
"RTIOThread could not get realtime scheduling, continuing anyway");
}
}

View File

@ -406,8 +406,8 @@ AudioOutputControl::Task() noexcept
try {
SetThreadRealtime();
} catch (...) {
LogError(std::current_exception(),
"OutputThread could not get realtime scheduling, continuing anyway");
Log(LogLevel::INFO, std::current_exception(),
"OutputThread could not get realtime scheduling, continuing anyway");
}
SetThreadTimerSlackUS(100);