[pulseaudio-discuss] Patch for incorrect return value checking when acquiring realtime
Colin Guthrie
gmane at colin.guthr.ie
Sun Jan 23 06:14:48 PST 2011
'Twas brillig, and Scott Reeves at 21/01/11 00:06 did gyre and gimble:
> 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.
Good catch. Thanks Scott.
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mageia Contributor [http://www.mageia.org/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]
More information about the pulseaudio-discuss
mailing list