You are not logged in.

#1 2011-10-23 13:23:39

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 672

Flash audio does not work on HDMI

Hi, I'm trying to make HDMI audio work. So far I've been able to make almost everything work, but Flash is still giving me headaches. I cannot make it play on HDMI, when I open a video on youtube sound comes out from my laptop's speakers. I googled around but I didn't find any useful hint on how to configure Flash audio on HDMI. My system is a Vaio VGN-SR21M laptop with HD3470 and Catalyst 11.8.
Can anyone please help me? Thanks.

Offline

#2 2011-10-23 13:38:09

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 672

Re: Flash audio does not work on HDMI

OK, as usual I found the answer right after opening this thread...
According to post #6 here:

http://www.linuxquestions.org/questions … rd-809773/

Flash outputs only on default alsa device, so if I want HDMI output I have to set my HDMI card as default by putting this in ~/.asoundrc:

pcm.!default {
type hw
card 1
device 3
}

ctl.!default {
type hw
card 1
device 3
}

(where card 1 device 3  stands for my HDMI audio card as given by aplay -l) and restart alsa by typing sudo /etc/rc.d/alsa force-restart.
The annoying thing is that now Flash sound will work ONLY on HDMI, so when I disconnect my TV I have to delete or modify .asoundrc, restart alsa and so on... Really there's not a smarter way to tell Flash where to send sound?

Offline

Board footer

Powered by FluxBB