![]() Registered Member ![]()
|
Hi,
Is it possible to shut down any sound usage in ktorrent ? I love this program but I certainly don't want it to use sound. I'm using ktorrent 2.2.5 over kde 3.5.9 (kubuntu). I've noticed that sometimes ktorrent is blocking my system sound support (error reported by kaffeine : snd_pcm_open failed (16) resource or device busy). Digging a little :
So, for kaffeine to work as expected, I had to shut down ktorrent. Of course, finding and fixing the bug in there would be a good idea. But anyway, I'd prefer ktorrent not to use sound at all, because I just don't need or want it to. |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
One week later, I think the problem is solved : my guess is ktorrent doesn't use sound explicitely but it may appear to do so through some KDE events. I often happen to click on torrent links on websites and that causes a ktorrent target folder selector modal window to appear.
Somehow, with your help, I managed to get rid of the problem (so far) by erasing some sound-to-event relationships in the KDE settings. Thank you for your answer, and for kindly providing and constantly improving such a useful piece of software. Myself and other people out there are very grateful for that ![]() |
![]() Registered Member ![]()
|
Hello,
I got the same problem recently. I think this came after a download finished:
I can't manage to play a sound using alsa:
I solved the problem by restarting ktorrent. So I guess finishing a download trigger some function that block the device. After restarting ktorrent:
Regards, Colin |
![]() Registered Member ![]()
|
sorry to bring this up again but i still have this problem.
I have no sound notification configured inside ktorrent (3.3 beta1) and this just happened again after finishing a download. It seems to me that it doesn't happen every time but this behaviour has occured for a long time now. Anyway when i try to play a file i get: [AO_ALSA] alsa-lib: pcm_hw.c:1325:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy |
![]() Moderator ![]()
|
Notifications are done with dbus calls (to knotify), KT does not open any sound device when it has to do a notification. So unless the media player plugin is hogging the sound device, it isn't KT.
|
![]() Registered Member ![]()
|
i don't have the media player plugin enabled though!
Any idea on how to track the root of the problem? |
![]() Moderator ![]()
|
fuser -v /dev/snd/*
That should show all applications using sound devices. |
![]() Registered Member ![]()
|
oh sorry, i forgot to say that when i had the problem, doing fuser /dev/snd/pcmC0D0p reported ktorrent using the device.
anyway if i do fuser -v /dev/snd* right now (when everything is working fine) it says: USER PID ACCESS COMMAND /dev/snd/controlC0: andrea 2871 F.... kmix andrea 3427 F.... ktorrent /dev/snd/pcmC0D0p: andrea 3427 F.... ktorrent /dev/snd/timer: andrea 3427 f.... ktorrent so it looks that ktorrent uses the device... |
![]() Moderator ![]()
|
Doesn't happen here, I only see ktorrent opening a sound device when the media player plugin is loaded.
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft