Problem with simultanious sound sources

Hello,

I’m ashamed to admit that I’m addicted to haxball (an online flash game)
I also love listening to Spotify!
Having skype running is a bit of a necessity.

Whenever I want to play haxball while listening to spotify I have to make sure spotify is playing music before I open haxball.com, otherwise flash takes over the sound system and I get no other sounds my PC. If for some reason spotify stops playing mid game, flash takes over and I have to close firefox/chrome before I can resume the music.

Another scenario is when I’m listening to music and skype makes a sound. The music stops playing while skype is making it’s usual noises and then resumes playing.

Googling came up with two possible solutions that didn’t work for me.

Number 1: install alsa-plugins-pulse (or whatever it’s called)
That didn’t work as it was already installed, both 32 and 64 bit versions

Number 2: change ~/.asoundrc
This solution suggested changing ~/.asoundrc to look like this

╭─noxx@linux  ~  
╰─$ cat .asoundrc 
pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

pcm.!default {
type hw
card 0
device 0
}

ctl.!default {
type hw
card 0
device 0
}


However this didn’t make any difference

My google-Fu is weakening. Does anyone have any suggestions?
Also, I’ve never had this problem with OpenSuse 13.1, although I had other annoying problems with pulseaudio

If you are using pulse
You can try installing

paprefs

and enable simultaneous output.
Then use

pavucontrol

for your audio.

Thank you for the reply.
I’ve already tried that, but for example, when I start playing music and then open haxball, on pavucontrol under “Playback” the “Simultaneous output” registers no sound (I mean the little bar doesn’t move)
If I disable “Add virtual output device for…” on paprefs, nothing for flash shows up pavucontrol

Hi,
Would this be the same as you pointed out?
I am playing audio cd in smplayer and in firefox I went to you tube and play a music video as of writing.
I can hear two different audio streams using the simultaneous output in pavucontrol.

I don’t think youtube still uses flash. My problem occurs when using flash or skype and anything else like totem, spotify (linux client), netflix on chrome…

I have flash enabled on Leap in firefox so it is using flash.

After testing youtube out, I does indeed fail to produce simultaneous sound.
Having spotify playing, starting a youtube video will play for a few seconds, with no sound and then show static on the player saying there’s been a problem.
Starting youtube, and then spotify, youtube is fine but spotify has no sound.

Is there anyway I can get output from the flash plugin?

EDIT: Seems I can get logs from flash, but it’s not very straight forward

After getting the flash debugger up and running on my 64bit OS, all I got on the logs after youtube stopped working is this

Warning: Domain www.youtube.com does not explicitly specify a meta-policy, but Content-Type of policy file https://www.youtube.com/crossdomain.xml is 'text/x-cross-domain-policy'.  Applying meta-policy 'by-content-type'.
Warning: Domain r4---sn-2vgu0b5auxaxjvh-v2vs.googlevideo.com does not explicitly specify a meta-policy, but Content-Type of policy file https://r4---sn-2vgu0b5auxaxjvh-v2vs.googlevideo.com/crossdomain.xml is 'text/x-cross-domain-policy'.  Applying meta-policy 'by-content-type'.
Warning: Domain i.ytimg.com does not explicitly specify a meta-policy, but Content-Type of policy file https://i.ytimg.com/crossdomain.xml is 'text/x-cross-domain-policy'.  Applying meta-policy 'by-content-type'.
Warning: Domain s.youtube.com does not explicitly specify a meta-policy, but Content-Type of policy file https://s.youtube.com/crossdomain.xml is 'text/x-cross-domain-policy'.  Applying meta-policy 'by-content-type'.

Seem pretty useless to me.
Also haxball pops up a few errors but also seem of no relevance.

Any more ideas on where to look next?

I have no idea:|
Where did you get your flash?
I’m using the one from packman.

With pulse can you post your pulse packages
I am not using zypper but if I remember it right
you can check the pulse packages installed with

zypper se -i pulse

or you can verify it in yast2-software management.

I will compare it with the one installed on my machine.

According to Yast I got the latest flash from Opensuse-13.2-Update-Non-Oss repository.
The debugger version of flash I got from adobe’s website.

And these seem to be all my pulse packages:

╭─noxx@linux  ~  
╰─$ zypper se -i pulse
Loading repository data...
Reading installed packages...

S | Name                        | Summary                              | Type   
--+-----------------------------+--------------------------------------+--------
i | alsa-plugins-pulse          | Pulseaudio Plug-In for the ALSA Li-> | package
i | alsa-plugins-pulse-32bit    | Pulseaudio Plug-In for the ALSA Li-> | package
i | libpulse-mainloop-glib0     | GLIB 2.0 Main Loop wrapper for Pul-> | package
i | libpulse0                   | Client interface to PulseAudio       | package
i | libpulse0-32bit             | Client interface to PulseAudio       | package
i | pulseaudio                  | A Networked Sound Server             | package
i | pulseaudio-esound-compat    | ESOUND compatibility for PulseAudio  | package
i | pulseaudio-module-bluetooth | Bluetooth support for the PulseAud-> | package
i | pulseaudio-module-gconf     | GCONF module for PulseAudio          | package
i | pulseaudio-module-lirc      | LIRC module for PulseAudio           | package
i | pulseaudio-module-x11       | X11 module for PulseAudio            | package
i | pulseaudio-module-zeroconf  | Zeroconf module for PulseAudio       | package
i | pulseaudio-utils            | PulseAudio utilities                 | package

EDIT: Using flash-plugin from Packman made no difference.