sound from multiple apps

2008-06-12 Thread Gezim Hoxha
Hi Ubuntu Developers,

I first wanted to thank you for your decent job on the distro. However,
surely I would haven't fired off an email, unless there was a complaint
(sorry).

I'm just a little appalled at the state of audio support on Linux (I believe
this issue is not Ubuntu only); I was trying to have a conversation on the
google chat (from within the browser) and since the chat has audio alerts,
mplayer refused to play audio (while the chat is open). Just a little
example of broken audio support. I do not know the cause, nor the solution
to the problem, I wonder how ubuntu is trying to become mainstream and have
mysterious issues, such as this.

Regards,
-Gezim
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: sound from multiple apps

2008-06-12 Thread Luke Yelavich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Jun 12, 2008 at 05:13:19PM EST, Gezim Hoxha wrote:
 I first wanted to thank you for your decent job on the distro. However,
 surely I would haven't fired off an email, unless there was a complaint
 (sorry).

Thanks for your kind words. Nothing is perfect, so anything from anyone that 
can possibly help make things better is worthwhile.

 I'm just a little appalled at the state of audio support on Linux (I believe
 this issue is not Ubuntu only); I was trying to have a conversation on the
 google chat (from within the browser) and since the chat has audio alerts,
 mplayer refused to play audio (while the chat is open). Just a little
 example of broken audio support. I do not know the cause, nor the solution
 to the problem, I wonder how ubuntu is trying to become mainstream and have
 mysterious issues, such as this.

What does Google Chat use? Flash? Java?

If you are using Ubuntu and GNOME, then its likely that whatever you are using 
is grabbing the sound device, and PulseAudio, the sound server for the Ubuntu 
desktop is unable to access the device, since whatever you are using in Firefox 
has exclusive use of the device.

Its hard to say more without knowing what browser technology google chat uses. 
If you could tell me what it uses, then I will be able to more quickly help you 
work out a solution, or a workaround.

Luke
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIUNL+jVefwtBjIM4RAlf5AJwLEAxc3xzXVy8LRB9ICpuUff1PQwCg1ue8
u1vpb0qbUOOEfbcpyHGxSjo=
=8u90
-END PGP SIGNATURE-

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: sound from multiple apps

2008-06-12 Thread Milan Bouchet-Valat
Le jeudi 12 juin 2008 à 17:40 +1000, Luke Yelavich a écrit :
snip
  I'm just a little appalled at the state of audio support on Linux (I believe
  this issue is not Ubuntu only); I was trying to have a conversation on the
  google chat (from within the browser) and since the chat has audio alerts,
  mplayer refused to play audio (while the chat is open). Just a little
  example of broken audio support. I do not know the cause, nor the solution
  to the problem, I wonder how ubuntu is trying to become mainstream and have
  mysterious issues, such as this.
 
 What does Google Chat use? Flash? Java?
It appears to use Java. So this may be a bug in a JRE.


 If you are using Ubuntu and GNOME, then its likely that whatever you are 
 using is grabbing the sound device, and PulseAudio, the sound server for the 
 Ubuntu desktop is unable to access the device, since whatever you are using 
 in Firefox has exclusive use of the device.
 
 Its hard to say more without knowing what browser technology google chat 
 uses. If you could tell me what it uses, then I will be able to more quickly 
 help you work out a solution, or a workaround.
Gezim, I guess you should open a bug against the package gij, and we'll be 
able to investigate more there. You've run into a very particular bug, and in 
Ubuntu the sound system is not so bad as you may think for desktop uses - 
actually it rocks, it's just that Java support may not be very well integrated 
to the rest of the system. Thanks for reporting anyway.


Cheers


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: sound from multiple apps

2008-06-12 Thread Mackenzie Morgan
On Thu, Jun 12, 2008 at 3:40 AM, Luke Yelavich [EMAIL PROTECTED] wrote:

 What does Google Chat use? Flash? Java?


Boring old Javascript.

-- 
Mackenzie Morgan
Linux User #432169
ACM Member #3445683
http://ubuntulinuxtipstricks.blogspot.com -my blog of Ubuntu stuff
apt-get moo
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: sound from multiple apps

2008-06-12 Thread Mackenzie Morgan
Oh, if it's a Flash issue, just install libflashsupport

On Thu, Jun 12, 2008 at 12:48 PM, Chandru [EMAIL PROTECTED] wrote:

 I had experienced the exact same problem.  When Rhythmbox is playing a
 song, no sound output came from Firefox (Youtube or any Flash site).  Also,
 AFAIK GMail uses Flash for audio alerts (not for other parts).

 I guess the problem is due to lack of integration of Flash Player with
 Pulseaudio (not an Ubuntu fault).  The workaround is very simple.  In System
 -Preferences - Sound choose ALSA for all options (except may be for
 Device under Default Mixer Tracks).  This fixed it for me.  Hope it
 fixes it for you too.  Ho[e some developer can comment on whether the
 problem is due to non-integration of Flash player with Pulseaudio.

 On Thu, Jun 12, 2008 at 7:38 PM, Mackenzie Morgan [EMAIL PROTECTED]
 wrote:

 On Thu, Jun 12, 2008 at 3:40 AM, Luke Yelavich [EMAIL PROTECTED]
 wrote:

 What does Google Chat use? Flash? Java?


 Boring old Javascript.

 --
 Mackenzie Morgan
 Linux User #432169
 ACM Member #3445683
 http://ubuntulinuxtipstricks.blogspot.com -my blog of Ubuntu stuff
 apt-get moo
 --
 Ubuntu-devel-discuss mailing list
 Ubuntu-devel-discuss@lists.ubuntu.com
 Modify settings or unsubscribe at:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss




 --
 Chandra Sekar.S

 e-mail: [EMAIL PROTECTED]
 Blog: http://tuxychandru.blogspot.com/

 We choose the brand of our Mobile Phone, Motorbike, Car, Shirt, Shoe,
 Bread, etc. Then why not the brand of our OS too?

 Pre-loading and forcing Vista on new laptops kills consumers' choice. Fight
 for choice of OS just as there is for the Hard Disk capacity in new laptops.





-- 
Mackenzie Morgan
Linux User #432169
ACM Member #3445683
http://ubuntulinuxtipstricks.blogspot.com -my blog of Ubuntu stuff
apt-get moo
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: sound from multiple apps

2008-06-12 Thread Cory K.
Chandru wrote:
 I had experienced the exact same problem.  When Rhythmbox is playing a
 song, no sound output came from Firefox (Youtube or any Flash site). 
 Also, AFAIK GMail uses Flash for audio alerts (not for other parts).

 I guess the problem is due to lack of integration of Flash Player with
 Pulseaudio (not an Ubuntu fault).  The workaround is very simple.  In
 System -Preferences - Sound choose ALSA for all options (except may
 be for Device under Default Mixer Tracks).  This fixed it for me. 
 Hope it fixes it for you too.  Ho[e some developer can comment on
 whether the problem is due to non-integration of Flash player with
 Pulseaudio.

Installing Flash 10 should also fix this. Was a tip from Lennart @ UDS.

-Cory K.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss