Version: 4.4.2 (KDE 4.5) (using KDE 4.5.2) OS: Linux After plugging in usb speakers (Logitech S-150) they show up in alsamixer, KMix and the Phonon kcm in systemsettings. I can move them up in the priority list and it works just fine with the xine backend, also unplugging and re-plugging is recognised. Switching over to the vlc backend however doesn't output any sound on the 2nd device (the usb speakers) and there seems to be no way to make it work and behave just like with the xine backend. I also found another bugreport about this issue at the debian bugzilla: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590424 Reproducible: Always Steps to Reproduce: 1. choose the vlc backend in phonon kcm 2. plug in the usb speakers 3. move them up in the priority list in phonon kcm Actual Results: No sound output on the external speakers (2nd sound device, but first one on the phonon priority list) Expected Results: Sound output on the external speakers and same (working) behaviour like with the xine backend Phonon VLC Backend Version: 0.2.0 Linux Kernel: 2.6.36 lsusb: Bus 008 Device 003: ID 1130:1620 Tenx Technology, Inc. alsa info: **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: default [USB AUDIO ], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
I forgot to mention that I'm using plain ALSA, no pulseaudio or jack involved.
Howdy, it would be super cool if you could get us some logs: http://techbase.kde.org/Development/Tutorials/Debugging/Phonon thanks
Reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.
Any news on this?
Created attachment 62817 [details] Log of phonon-vlc
This problem is still reproducible on Arch Linux using KDE SC 4.7.0 and phonon-vlc 0.4.1 with vlc 1.1.11. I plugged in a Logitech USB headset, it gets listed and set as the preferred device at the top in phonon settings, but sound still comes out of the speaker and no sound from the headset. Change to the gstreamer backend and repeat the same test worked perfectly. I've set PHONON_DEBUG=5 and PHONON_VLC_DEBUG=5 and attached the log, but I don't think the log contains any useful information.
Thank you for the feedback.
This might have been fixed in a recent change to the device selection system. It would be very cool if you could try phonon-vlc git master (depends on phonon git master) and see if it fixes this issue. TIA
Sorry for the late reply. I've not had the time try the git master branch. However, since KDE SC 4.8 RC1 came out, that gave me the chance to installed the compiled packages provided by my distro. Unfortunately, the exact same problem is still there. It is still only a phonon-vlc problem, phonon-gstreamer works fine.
(In reply to comment #9) > Sorry for the late reply. I've not had the time try the git master branch. > However, since KDE SC 4.8 RC1 came out, that gave me the chance to installed > the compiled packages provided by my distro. Unfortunately, the exact same > problem is still there. It is still only a phonon-vlc problem, phonon-gstreamer > works fine. Arg! My mistake, I thought a newer version of phonon-vlc would come with KDE SC 4.8, but no. I was still using phonon-vlc-0.4.1, of course it behaved the same. Hopefully I can find some time try the git master version.
any news?
Unfortunately, Arch Linux is still using phonon-vlc-0.4.1. I will test it as soon as a new version is out.
I have just tested phonon-vlc-0.5.0. It still has the same problem.
I modified the way Phonon-VLC tries to set an audio output device. This might fix this bug, because before these changes, it didn't know anything about devices discovered by KDE so it ignored them. Meanwhile, due to technical reasons, it reported success on changing the device, even if that was about to fail, so Phonon didn't know something was wrong. Phonon-VLC then used the default device for playback. This would not have happened if the Phonon-VLC implementation of the AudioOutput interface would have been more up to date. Now Phonon-VLC should be able to handle devices that were discovered by KDE. I hope I didn't break anything by trying to fix this :-s
Worksforme! A couple of months ago I contributed to this by performing some cleanups and writing the VLC device selection calls in a way that could possibly work, but gave up when I had to deal with Phonon's internal device list (a hard problem for me). I'm happy that you took the time to fix this for good. Also I will buy you a beer if you come to the next Akademy.
*** Bug 282232 has been marked as a duplicate of this bug. ***
(In reply to comment #16) > Worksforme! > A couple of months ago I contributed to this by performing some cleanups and > writing the VLC device selection calls in a way that could possibly work, > but gave up when I had to deal with Phonon's internal device list (a hard > problem for me). > I'm happy that you took the time to fix this for good. > Also I will buy you a beer if you come to the next Akademy. Yaay thanks! :D
The bug indeed appears to have been fixed. I'm a bit confused. My phonon-vlc-0.5 is still from February, what exactly has been patched?
I think it was this commit: https://projects.kde.org/projects/kdesupport/phonon/phonon-vlc/repository/revisions/bd470070e8e6a1a9b526d2c13ec458caa164c5d0 Changes to src/audio/audiooutput.{h,cpp} Date 29 Feb. But I don't know how to change the status of the bug :P. Help?