[pulseaudio-discuss] [PATCH] core: Expose API to elevate a thread to realtime priority

Tanu Kaskinen tanuk at iki.fi
Sat May 5 14:07:20 UTC 2018


On Fri, 2018-05-04 at 21:01 +0530, Arun Raghavan wrote:
> This should make it easier for clients to elevate their audio threads to
> real time priority without having to dig through much through specific
> system internals.
> ---
>  src/map-file                                 |   1 +
>  src/modules/alsa/alsa-sink.c                 |   3 +-
>  src/modules/alsa/alsa-source.c               |   3 +-
>  src/modules/bluetooth/module-bluez5-device.c |   3 +-
>  src/modules/jack/module-jack-sink.c          |   5 +-
>  src/modules/jack/module-jack-source.c        |   5 +-
>  src/modules/macosx/module-coreaudio-device.c |   2 +-
>  src/modules/module-combine-sink.c            |   3 +-
>  src/modules/module-solaris.c                 |   2 +-
>  src/modules/module-waveout.c                 |   2 +-
>  src/modules/oss/module-oss.c                 |   2 +-
>  src/pulse/util.c                             | 176 +++++++++++++++++++
>  src/pulse/util.h                             |   6 +
>  src/pulsecore/core-util.c                    | 171 +-----------------
>  src/pulsecore/core-util.h                    |   1 -
>  src/tests/lo-test-util.c                     |   2 +-
>  src/tests/rtstutter.c                        |   2 +-
>  17 files changed, 205 insertions(+), 184 deletions(-)

The issues that I spotted seem to be fixed. Assuming that there are no
other changes, ack from me. (I didn't do a full review, because Georg
already did that.)

-- 
Tanu

https://liberapay.com/tanuk
https://www.patreon.com/tanuk


More information about the pulseaudio-discuss mailing list