[pulseaudio-discuss] Patch for incorrect return value checking when acquiring realtime

Scott Reeves sreeves at novell.com
Thu Jan 20 16:06:22 PST 2011


It appears the return values for set_scheduler and set_nice are not correctly checked in the case where the initial request failed.
This caused pa_make_realtime to incorrectly log that real time status was achieved (albeit one level lower than requested) when it actually was not.
Painful as it covered up an incorrectly configured rtkit setup on a system.

The attached patch fixes the problem.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-fix-incorrect-check-of-return-value.patch
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110120/5ca8f3f7/attachment.asc>


More information about the pulseaudio-discuss mailing list