[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 45475] kmix should close /dev/mixer when idle
From: Koos Vriezen <koos.vriezen () xs4all ! nl>
Date: 2006-04-17 12:02:50
Message-ID: 20060417120250.27698.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=45475
------- Additional Comments From koos.vriezen xs4all nl 2006-04-17 14:02 -------
I wonder why this isn't enabled for DBUS. If I do (on the KDE-3.5 branch)
--- mixerIface.h (revision 530679)
+++ mixerIface.h (working copy)
@ -98,6 +98,16 @
*/
virtual QString mixerName()=0;
+ /**
+ * Open/grab the mixer for further intraction
+ */
+ virtual int open()=0;
+
+ /**
+ * Close/release the mixer
+ */
+ virtual int close()=0;
+
};
#endif
it already works. Ie. I can do
dcop kicker Mixer0 close
which releases the module (atleast 'fuser /dev/snd/controlC0' shows no users anymore) \
and dcop kicker Mixer0 open
to reopen.
Of course this isn ´t very user friendly, one has to write scripts, but when hit by \
this bug, that ´s even worse. In my case when calling ´hibernate ´ in the laptop \
daemon, kicker goes wild and writes my disk full with kmix: Mixer_ALSA::poll() , \
Error: poll() returns POLLNVAL lines (seems to be from my webcam microphone, but not \
sure).
What do you think of this, is it save enough for the 3.5 branch to include?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic