Hi Chris,

I think John Cirillo was on the right track, sort of.  But I think also the way GWC connect to pulse audio might have a bug.  I hadn't compiled and run gwc for a while, and I just did on my Fedora Core 17 machine, running the gnome window manager.

With nothing else running, I have no problems with playback.

But, if I crank up a streaming application (like grooveshark), in firefox, I get the same problem you have described, play only works every other time.

If I get a chance, I'll poke around at the pulse audio code for GWC.  When I imlemented it pulse audio was still pretty young so I didn't work too hard at it.  Maybe there is an error return that the code can sense and attempt a reconnect to the audio driver automatically instead of just failing and popping up the error dialog.

Thanks for trying GWC and especially thanks for reporting the problem!


From: Chris Green <cl@isbd.net>
To: gwc-general@lists.sourceforge.net
Sent: Friday, January 25, 2013 7:09 AM
Subject: Re: [Gwc-general] Odd error (only every other time I playback) using gwc with pulseaudio on ubuntu 12.10

On Thu, Jan 24, 2013 at 01:54:44PM -0500, John Cirillo wrote:
> On 1/24/2013 12:07 PM, Chris Green wrote:
> > On Thu, Jan 24, 2013 at 11:04:58AM -0500, John Cirillo wrote:
> >> I seem to remember this happened a few years ago and in my
> >> case was caused by the KDE
> >> notification timeout defaulting to something too long, like
> >> 5 seconds or so.
> >> Because of that, the audio system really was temporarily
> >> busy, but for no useful reason.
> >> After I changed the KDE event notification timeout to 1
> >> second, all was well from then on.
> >> Something to check.  Not sure if other window managers have
> >> something similar.
> >>
> > I don't run KDE but I do have a KDE application (k3b) so it *might* be
> > the KDE event notification.  Do you know where I might be able to see
> > and/or change the KDE event notification timeout without the KDE GUI
> > running?
> >
> I don't think that the KDE sound system nor notification
> system is running if you aren't using KDE.  Doesn't matter
> if you have some KDE apps installed.  But as to where KDE
> sets this, I couldn't find it.  I tried changing my timeout
> from within the GUI and couldn't find any altered config
> file either in the .kde directory under my user, or in
> /usr/share/kde4.  Sorry.
OK, thanks for looking anyway.

Chris Green

Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
Gwc-general mailing list