Bug#502671: osdsh: audio mixer mode eats 100% cpu

2008-10-20 Thread Heron Ordoñez Guillén
Joachim is right, the process is checking if the volume has changed every microsecond, this is known to cause problems in some setups. if you just change that value to a more reasonable one, it should be fine. usleep(1) should work fine. it is right that this is not the best way to do t

Bug#502671: osdsh: audio mixer mode eats 100% cpu

2008-10-19 Thread Joachim Breitner
Hi, Am Sonntag, den 19.10.2008, 22:20 +0200 schrieb Moritz Molle: > Joachim Breitner wrote: > > Am Sonntag, den 19.10.2008, 02:05 +0200 schrieb Moritz Molle: > >> > >> If you configure osdsh to show audio-mixer changes (osdctl -m 1), it eats > >> up > >> 100% of cpu. This is because in mixerwatch

Bug#502671: osdsh: audio mixer mode eats 100% cpu

2008-10-19 Thread Joachim Breitner
Hi, Am Sonntag, den 19.10.2008, 02:05 +0200 schrieb Moritz Molle: > Package: osdsh > Version: 0.7.0-9 > Severity: important > > > If you configure osdsh to show audio-mixer changes (osdctl -m 1), it eats up > 100% of cpu. This is because in mixerwatch.c there is a line which looks > like so: >

Bug#502671: osdsh: audio mixer mode eats 100% cpu

2008-10-18 Thread Moritz Molle
Package: osdsh Version: 0.7.0-9 Severity: important If you configure osdsh to show audio-mixer changes (osdctl -m 1), it eats up 100% of cpu. This is because in mixerwatch.c there is a line which looks like so: usleep(1); This is wrong, because this doesn't really sleep at all. It should be sle