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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 5 May 2018, at 7:37 PM, Tanu Kaskinen wrote:
> 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.)

There were two or three more changes to add pulse/util.h in includes where I'd missed it, but that's the extent of it.

Cheers,
Arun


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux