Re: problem identified: Flash locking /dev/snd (Re: F11: I keep losing audio)

2009-08-21 Thread Henrik Frisk
On Fri, Aug 21, 2009 at 5:09 AM, Mikkel L. Ellertson 
mik...@infinity-ltd.com wrote:

 Colin Brace wrote:
 
  Mikkel L. Ellertson wrote:
  Dumb question - are all the applications configured to use
  PulseAudio? It sounds like Epiphany is using Alsa instead of PA, so
  it is grabbing the audio all for itself.
 
  It is possible this is what is happening, but I have consciously
 configured
  Epiphany and/or Flash this way.
 
 Maybe I have it reversed about what programs are using Alsa instead
 of PA. PA locks the sound ports while it is active, but if I
 remember correctly from past experience, it releases them when it is
 not playing anything... (I may not have that part correct...)


I don't have a solution for this (other than quitting Firefox) but I've had
the same problem on two machines on both FC8 and FC11. The former without
PulseAudio and the latter with. Same issue. It would be nice to find a
solution!

/h
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

problem identified: Flash locking /dev/snd (Re: F11: I keep losing audio)

2009-08-20 Thread Colin Brace

Hi all,

I have determined what has been causing audio to fail on my F11 system:
Flash locks the sound device and subsequent applications can't output sound. 

A typical course of events is: first I play a YouTube video in Firefox or
Epiphany. Then I try to listen to some tracks in Rhythmbox. The latter
simply refuses to output. (This happens as well with VLC etc)

In a terminal this is what I see: 

$ fuser -v /dev/snd/* 
 USERPID ACCESS COMMAND
/dev/snd/pcmC0D0p:   colin 29931 F...m npviewer.bin

or, with epiphany:

$ fuser -v /dev/snd/*

 USERPID ACCESS COMMAND
/dev/snd/pcmC0D0p:   colin 15623 F...m epiphany

killing epiphany or npviewer.bin fixes things; rhythmbox begins playing
music as soon as I do this.

Does anyone have any ideas on how to keep Flash from *monopolizing* the
sound device? I thought these kinds of issues were settled by
ALSA/pulseaudio; that is to say, I didn't encounter this behaviour in
earlier Fedoras.

Thanks.



-
-- 
  Colin Brace
  Amsterdam
  http://lim.nl
-- 
View this message in context: 
http://n2.nabble.com/F11-I-keep-losing-audio-tp3218945p3478074.html
Sent from the fedora mailing list archive at Nabble.com.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: problem identified: Flash locking /dev/snd (Re: F11: I keep losing audio)

2009-08-20 Thread Mikkel L. Ellertson
Colin Brace wrote:
 Hi all,
 
 I have determined what has been causing audio to fail on my F11 system:
 Flash locks the sound device and subsequent applications can't output sound. 
 
 A typical course of events is: first I play a YouTube video in Firefox or
 Epiphany. Then I try to listen to some tracks in Rhythmbox. The latter
 simply refuses to output. (This happens as well with VLC etc)
 
--[ SNIP ]---
 
 killing epiphany or npviewer.bin fixes things; rhythmbox begins playing
 music as soon as I do this.
 
 Does anyone have any ideas on how to keep Flash from *monopolizing* the
 sound device? I thought these kinds of issues were settled by
 ALSA/pulseaudio; that is to say, I didn't encounter this behaviour in
 earlier Fedoras.
 
Dumb question - are all the applications configured to use
PulseAudio? It sounds like Epiphany is using Alsa instead of PA, so
it is grabbing the audio all for itself.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: problem identified: Flash locking /dev/snd (Re: F11: I keep losing audio)

2009-08-20 Thread Colin Brace


Mikkel L. Ellertson wrote:
 
 Dumb question - are all the applications configured to use
 PulseAudio? It sounds like Epiphany is using Alsa instead of PA, so
 it is grabbing the audio all for itself.

It is possible this is what is happening, but I have consciously configured
Epiphany and/or Flash this way.


-
  Colin Brace
  Amsterdam
  http://lim.nl
-- 
View this message in context: 
http://www.nabble.com/F11%3A-I-keep-losing-audio-tp24372482p25068810.html
Sent from the Fedora List mailing list archive at Nabble.com.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: problem identified: Flash locking /dev/snd (Re: F11: I keep losing audio)

2009-08-20 Thread Mikkel L. Ellertson
Colin Brace wrote:
 
 Mikkel L. Ellertson wrote:
 Dumb question - are all the applications configured to use
 PulseAudio? It sounds like Epiphany is using Alsa instead of PA, so
 it is grabbing the audio all for itself.
 
 It is possible this is what is happening, but I have consciously configured
 Epiphany and/or Flash this way.
 
Maybe I have it reversed about what programs are using Alsa instead
of PA. PA locks the sound ports while it is active, but if I
remember correctly from past experience, it releases them when it is
not playing anything... (I may not have that part correct...)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines