No sound to SPDIF in web browsers Firefox, Konqueror,Chrome

Hi everyone,

I’m pretty new to OpenSUSE and linux as well but I’ve been searching through the forums and everywhere else to find a solution to this problem but have not been able to fix it.

Basically, I have a hda-intel sound card and I’m trying to use SPDIF output for the sound. Sound is working through SPDIF for programs like vlc and SMPlayer but not in web browsers. When I watch a youtube video or visit pages with sound the sound comes from the headphone jack instead of SPDIF.

I thought this had to do with the settings in “Configure Desktop -> Multimedia” but i set all the Audio Output settings to use the SPDIF sound device first. There is an analog device but it is at a lower priority and I can’t seem to remove that to see if that’ll force all sound output to go to SPDIF.

I ran the “lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*” command in the terminal while i had sound from vlc going and this was the output:

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 3705 jeev 10u CHR 116,8 0t0 6417 /dev/snd/controlC0
vlc 6087 jeev mem CHR 116,3 6444 /dev/snd/pcmC0D1p
vlc 6087 jeev 14u CHR 116,8 0t0 6417 /dev/snd/controlC0
vlc 6087 jeev 15u CHR 116,3 0t0 6444 /dev/snd/pcmC0D1p

I ran the same command with Firefox running a youtube video and this is the output:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 3705 jeev 10u CHR 116,8 0t0 6417 /dev/snd/controlC0
npviewer. 5802 jeev mem CHR 116,5 6410 /dev/snd/pcmC0D0p
npviewer. 5802 jeev 12u CHR 116,2 0t0 5535 /dev/snd/timer
npviewer. 5802 jeev 13u CHR 116,5 0t0 6410 /dev/snd/pcmC0D0p
npviewer. 5802 jeev 14u CHR 116,8 0t0 6417 /dev/snd/controlC0

Does anyone know how I can switch the output for browser applications to my “pcmC0D1p” device which seems to be SPDIF?