You are not logged in.

#1 2011-03-26 15:13:41

sbfreak
Member
Registered: 2010-06-06
Posts: 149

Sound not working in other apps while flash is running and vice versa

Just as the title says.I didn't find anything in the wiki nor by searching.

Let me clear one thing.
Sound is working the following way:

Flash is running --> no sound in other apps;
Leave banshee open with a random song -->go to youtube,no sound in flash but I can perfectly hear the song I am currently playing in banshee.

Offline

#2 2011-03-26 15:50:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Sound not working in other apps while flash is running and vice versa

Offline

#3 2011-03-27 08:32:00

sbfreak
Member
Registered: 2010-06-06
Posts: 149

Re: Sound not working in other apps while flash is running and vice versa

Already tried.Doesn't work.

Offline

#4 2011-03-27 09:06:15

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Sound not working in other apps while flash is running and vice versa

I had to use something like this in asound.conf to enable dmixer:

# /etc/asound.conf
pcm.dmixer {
  type dmix
  ipc_key 2048
  slave {
    pcm "hw:1,7"
    period_size 512
    buffer_size 4096
    rate 48000
    format S16_LE
  }
  bindings {
    0 0
    1 1
  }
}

pcm.!default {
  type plug
  slave.pcm dmixer
}

pcm:iec958 {
  type plug
  slave.pcm dmixer
}

and disableing that oss thing in rc.conf. Pulseaudio is also a way to go, if you are so inclined.

Offline

#5 2011-03-27 11:10:09

d00maz
Member
Registered: 2009-11-08
Posts: 91

Re: Sound not working in other apps while flash is running and vice versa

just use OSSv4.

Offline

#6 2011-10-28 06:45:46

gardwired
Member
Registered: 2011-10-27
Posts: 3

Re: Sound not working in other apps while flash is running and vice versa

got this to work by installing pulseaudio-alsa and then restarting alsa.


pacman -S pulseaudio-alsa
/etc/rc.d/alsa stop
/etc/rc.d/alsa start

kill all browser processes and restart.

this provides /etc/asound.conf which appears to make alsa pipe through pulse. now i have flash and exaile and other apps all working happily together.

Offline

#7 2011-10-28 11:25:24

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Sound not working in other apps while flash is running and vice versa

The example in the wiki is bad:

pcm.!default {
    type hw

That will bypass dmix, when dmix is needed (in the situation of plain ALSA, without pulseaudio or jack).  My ~/.asoundrc, for example, works.

Offline

Board footer

Powered by FluxBB