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

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



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 sleep(1)
without the 'u' for sleeping a hole second. Or the mixerchanges should be
polled via 'poll()' oder 'select()' which i tried for a patch, but
unfortunately didn't succeed.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages osdsh depends on:
ii  libapm1                       3.2.2-10   Library for interacting with APM d
ii  libc6                         2.7-14     GNU C Library: Shared libraries
ii  libxosd2                      2.2.14-1.6 X On-Screen Display library - runt
ii  tk8.0 [wish]                  8.0.5-11   Tk toolkit for Tcl and X11, v8.0 -
ii  tk8.3 [wish]                  8.3.5-14   Tk toolkit for Tcl and X11, v8.3 -
ii  tk8.4 [wish]                  8.4.19-2   Tk toolkit for Tcl and X11, v8.4 -

osdsh recommends no packages.

osdsh suggests no packages.

-- debconf-show failed



Reply to: