Create Account

Username
Password
Remember me
Email
 
0

No sound via browser in Debian with USB speakers

5 comments, 430 views, posted 9:22 am 05/05/2012 in Linux & Open Source by tomcat025
tomcat025 has 883 posts, 8 threads, 27 points, location: Whitefish, Montana, USA
God

I have a laptop which has a blown sound card. Because of this I have some cheap $15 usb speakers that I've been using. Previously the laptop had windows xp and ran like a snail on valium. The speakers worked fine on XP.

Move forward to my install of Crunchbang aka #!

I've gotten the system to use the speakers as default (I think) with a .asoundrc file in my ~/ dir.

Code:
pcm.!default {
type hw
card 2
device 0
}
ctl.!default {
type hw
card 2
device 0
}

Card 2 device 0 is how VLC is able to play flv files through the USB speakers. For the life of me I cannot get any browser to play any video I find through the USB speakers. It simply goes into its own dedication to the silent film era.

Any help would be appreciated.

Comments

0
9:42 am 05/05/2012

Edorph

You'll probably have better luck on a Crunchbang forum, but doesn't CrunchBang use PulseAudio? Does the stream show up in pavucontrol?

0
9:45 am 05/05/2012

tomcat025

Quote by Edorph:
You'll probably have better luck on a Crunchbang forum, but doesn't CrunchBang use PulseAudio? Does the stream show up in pavucontrol?

I've posted there as well. No, it uses alsa and openbox. No pavucontrol. As for alsamixer, I am not sure. The install needs some tweaking. My other laptop install was much smoother but the HDD on that one is resting in peace. I even had to steal the nic from that one.

Crunchbang used to be Ubuntu based but #!'s dev moved away from Ubuntu when they started getting weird. It's a pure debian base now.

Edit: In fact, I installed PulseAudio to attempt a fix for my problem. It was little help and then I remembered how much I do not like PA.

0
10:12 am 05/05/2012

Edorph

If you start the browser from console, are there any errors printed when trying to play music? Also is it a Flash plugin issue only, or does it also happen for the browser's own sounds (e.g. http://www.terrillthompson.com/tests/html5-audio.html )?

0
9:12 pm 05/05/2012

tomcat025

Nope, nothing from that site. Thanks for the link though. I was looking for something like that.

0
7:54 am 09/05/2012

tomcat025

As an update I am here to report that the problem is solved. Sadly it is not solved by any 'eureka' moment. It was solved by an install of #! 11 test version linked on the Crunchbang forums. Did a fresh clean install of 11 and it worked "right out of the box" as it were.

Add Comment

Log in via teoti, or register to add a comment!