Re: audio configuration for ulatencyd

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

 



On 02/15/2011 07:55 PM, Daniel Poelzleithner wrote:


i extended the dbus interface of ulatencyd today (this interface is was
planned this way as it's the direct iterface to the flag system). It
allows to show and manipulate process flags. I changed the scheduler to
move all processes with the flag name 'sched.rt' into the realtime group.

dbus-send --system --dest=org.quamquam.ulatencyd --print-reply
/org/quamquam/ulatencyd/System org.quamquam.ulatencyd.System.addFlag
uint64:[SOMEPID] uint64:0 string:'sched.rt' string:'test' uint64:0
int32:0 int64:0 int64:0 boolean:false

last value is inheritance, that may be useful.
the second integer is the tid. so you can mark flags to threads only.
this is currently not supported tho, the scheduler needs to handle them
differently.


dbus-send --system --dest=org.quamquam.ulatencyd --print-reply
/org/quamquam/ulatencyd/System
org.quamquam.ulatencyd.System.scheduleTask uint64:[SOMEPID] boolean:false

requests instant rescheduling. the boolean will cause a forced reread of
the process stats.

for more api calls kindly query your d-feet ;-)


this is of course not a interface suited for standardisation.

kind regards
 Daniel

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux