Bug 17896

Summary: no sound with 0.8.0-1 hardy w/ usb audio
Product: swfdec Reporter: David E. Anderson <danderson3>
Component: libraryAssignee: swfdec ml <swfdec>
Status: NEW --- QA Contact: swfdec ml <swfdec>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description David E. Anderson 2008-10-03 17:17:54 UTC
64 bit hardy w/ usb audio works for banshee, etc. but not swfdec-mozilla in firefox 3.0.3
Comment 1 Riccardo Magliocchetti 2008-10-04 02:10:05 UTC
Is the usb one the only audio device you have? if not, does the integrated one works if you do not plug the usb one? Do you have something in your ~/.asoundrc or /etc/asound.conf?
Comment 2 David E. Anderson 2008-10-04 04:53:13 UTC
no ~/.asoundrc or /etc/asound.conf.
builtin works with everything, including swfdec
Comment 3 Riccardo Magliocchetti 2008-10-04 13:19:28 UTC
(In reply to comment #2)
> no ~/.asoundrc or /etc/asound.conf.
> builtin works with everything, including swfdec

Another couple of check please: if you run firefox from a console do you see any error message related to audio like "Failed to open sound device"? then if you run 'lsof | grep firefox', can you see which audio device it is opening? it'll be useful if you can do the same with banshee and see if it is opening something else. Thank you.

Could be that opening 'default' in swfdec-gtk/swfdec_playback_alsa.c:293 still opens the integrated one and its output goes to /dev/null or it is muted or whatever?
Comment 4 David E. Anderson 2008-10-04 15:52:56 UTC
among other things, there is this continuous segment of output at startup:
Loading stream: https://us.etrade.com/flash/login/rsa_fso.swf
unhandled event 19
unhandled event 19
unhandled event 19
Loading stream: https://www.paypal.com/en_US/m/mid.swf


no errors about 'unable to open device'

lsof|grep banshee hangs with no output...


I will try more later.
Comment 5 Riccardo Magliocchetti 2008-10-23 11:24:27 UTC
David, you can "fix" this by changing the default ALSA card.
You can get a list of available cards with
asoundconf list

and set the default one with this substiting CARD with your card's name.

asoundconf set-default-card CARD

Then if you start firefox it should use the right one.

Banshee works because gstreamer does not use the 'default' one, instead it create a list of available devices.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.