Mozilla freezes when loading page with sound if sound already playing in background...

Mozilla freezes when loading page with sound if sound already playing in background...

Post by Jeffrey J. Kosows » Mon, 03 Mar 2003 11:28:15



Mozilla freezes if a page I am loading calls for a sound on it while I have
a sound application running in the background.

This happens frequently and often without warning since I like to
listen to music in the background and many common Internet pages like
dailynews.yahoo.com apparantly have some embedded sound calls.

Apparantly the problem is due to the fact that my Linux sound
configuration can only play one sound stream at a time so that Mozilla
hangs while waiting for the other stream to terminate.

Is there any way to get multiple sound streams to play simultaneously
under Linux? (BTW Windoze seems to have no problem combining multiple
sound streams.)

This seems like a very basic sound requirement since people often have
some music streaming while still wanting/needing sound on their
computers.

I am running RH8.0/Linux 2.4.20 using Alsa 0.9.0 for sound and Mozilla
1.2.1 as my browser. My sound hardware is an integrated ADI AD1980
AC'97 audio codec on my ASUS P4PE motherboard.

Thanks,
Jeff

 
 
 

Mozilla freezes when loading page with sound if sound already playing in background...

Post by Peter T. Breue » Mon, 03 Mar 2003 18:07:00



Quote:> Mozilla freezes if a page I am loading calls for a sound on it while I have
> a sound application running in the background.

You probably want to be using the arts sound server in whatever sound
plugin you use.

Quote:> Apparantly the problem is due to the fact that my Linux sound
> configuration can only play one sound stream at a time so that Mozilla

Better change it!

Quote:> I am running RH8.0/Linux 2.4.20 using Alsa 0.9.0 for sound and Mozilla
> 1.2.1 as my browser. My sound hardware is an integrated ADI AD1980
> AC'97 audio codec on my ASUS P4PE motherboard.

I am using 2.4.20 and alsa 0.9.0.10b (roughly) and mozilla 0.99
and I have ac97 audio (intel8xx driver) and I am listening to the
bbc news over realaudio while viewing the dailynews.yahoo.com
page you named, and I experience no hangs. But neither is the page
making sounds at me ...

Peter

 
 
 

Mozilla freezes when loading page with sound if sound already playing in background...

Post by thunde » Mon, 03 Mar 2003 22:16:38



> In linux.redhat.misc Jeffrey J. Kosowsky

>> Mozilla freezes if a page I am loading calls for a sound on it
>> while I have a sound application running in the background.

> You probably want to be using the arts sound server in whatever
> sound plugin you use.

Or the Enlightened Sound Daemon.

http://www.tux.org/~ricdude/EsounD.html

 
 
 

Mozilla freezes when loading page with sound if sound already playing in background...

Post by Jeffrey J. Kosows » Mon, 03 Mar 2003 23:56:19




> > In linux.redhat.misc Jeffrey J. Kosowsky

> >> Mozilla freezes if a page I am loading calls for a sound on it
> >> while I have a sound application running in the background.

> > You probably want to be using the arts sound server in whatever
> > sound plugin you use.

> Or the Enlightened Sound Daemon.

> http://www.veryComputer.com/~ricdude/EsounD.html

Thanks Peter and Thunder. This particular problem ended up being
unrelated to using arts/esd.

Hanging was due to Macromedia Flash *on yahoo. I had an older
version of the Flash plug-in (version 5) that was buggy. This bug
caused hangs on pages like yahoo news even when there was no obvious
user-hearable sound. Upgrading to the latest Flash-plugin (6.0) fixed
the problem with Mozilla* (even without using arts/esd since
the page didn't really have sound).

On the other hand esd (which was already running for me under Gnome)
is indeed the right solution for other multi-stream sound
conflicts. Arts would presumably be an equivalent solution though my
understanding is that esd is the default for gnome while arts is more
commonly used with esd.

Any major pros/cons of arts vs. esd that I should be thinking about?

Jeff

 
 
 

1. Does playing sound from CDROM supposed to load sound module?

I have compiled sound as a module and have tested it. kerneld
automatically loads sound as a module when I do:

cat sample.au > /dev/audio

or

cat /dev/sndstat

Now when playing sound from my cdrom, I just type cdplay and I get sound
played through my sound card .... but the sound module does not get
loaded. I can load sound and unload it which does not affect the cdrom
playing audio.

Is this natural?

On startup, I isapnp is called and I initialze further my opti-based
sound card with a separate program.

John Salvo

2. LUM 4.5.5 and AIX 4.3.3 :{

3. How to get Mozilla to play sound?

4. iris-ansi terminal capabilities - mouse?

5. sound: sb awe32; playmidi plays, but no sound comes out

6. HELP: SMC 2.0 on Solaris 8

7. need help on play sound files to /dev/{audio,sound}

8. what is as86? ...error compiling kernel

9. background noise when playing sound

10. Odd failure with sound card/playing sounds

11. ESS1888 sound chip plays sounds half the speed (*dh)

12. Why my Sound Blaster Pro 2 play sound at wrong speed?

13. can't play sounds, but Gnome sound effects work!