suggested patch: only update level meters when window has focus

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

 



Hello,

I've noticed that pavucontrol consistently eats up around 20% of CPU. 
This is because pavucontrol updates the level meters on every sink 
callback, even when no one's looking (window isn't focused). So I've 
created a patch that adds an option to only update the level meters when 
the main window is focused. There's one issue with the patch: When a new 
stream widget is created and the window is visible but not focused, the 
level meter is missing because it's initially hidden. Anyone can explain 
why? What are the chances of getting my patch merged?

Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lazy2.patch
Type: text/x-patch
Size: 1848 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140711/5950fb70/attachment.bin>


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

  Powered by Linux