Bug 273106 - vlc backend refuses to output sound to external sound card
Summary: vlc backend refuses to output sound to external sound card
Status: RESOLVED UPSTREAM
Alias: None
Product: phonon-backend-vlc
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 0.4.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 0.5
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 11:05 UTC by Benjamin Schindler
Modified: 2011-08-02 20:36 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Schindler 2011-05-12 11:05:09 UTC
Version:           4.6 (using KDE 4.6.2) 
OS:                Linux

I have a logitech headset which has its own internal sound device. 
I have the vlc-backend in phonon

But when I go to the phonon device config, pressing play on the external card doesn't produce any sound. Also, amarok stays silent (even though it's highest in the priority). 

Sound is confirmed to work - tested with mplayer with -ao alsa:device=hw=1:0 and with the vlc player, by setting alsa output and selecting the headset as the output device

Don't know what kind of info I should produce... so I just thought I'd post the output of /proc/asound/cards. 
I'm a computer scientist, so just let me know what kind of info you need and I'll provide 

Reproducible: Always




 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd6704000 irq 56
 1 [Headset        ]: USB-Audio - Logitech USB Headset
                      Logitech Logitech USB Headset at usb-0000:00:1d.1-2, full speed
Comment 1 Benjamin Schindler 2011-05-12 11:08:12 UTC
I should add that this used to work on earlier kde versions when I had the xine backend. 
Also, I think (need to check, can't easily reboot the maching), it works when I have the headset plugged in on bootup. 
In this case, the Headset got device number 0 and it sortof worked (had to restart amarok when replugging to get sound for example), but at least it halfway worked
Comment 2 Carlos Licea 2011-06-23 04:45:52 UTC
Are you using Alsa, if so, please check that you're added in the sound group and that /etc/groups has permissions of 755 (I had the same problem)
Comment 3 Benjamin Schindler 2011-06-23 08:24:55 UTC
I'm on gentoo and the setup is a bit different there. I'm in the audio group (as apart to sound)
Apart from that, /etc/groups does not exist, I think you mean /etc/group. It has permissions 644 here. Why would it need the executable bit? Can you show me a link why it should need that?
Comment 4 Andreas Hartmetz 2011-08-02 20:11:48 UTC
This was broken (simply not implemented) in Phonon-VLC, which I have fixed now.
The fix should be in Phonon-VLC 0.5.0.
Additionally, I've found a bug in libVLC that breaks setting output devices. A fix has been applied to VLC master and will most likely appear in (lib)VLC 1.1.12. For that reason this is an upstream bug now.