Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: Non-ending sound (PR#1564)
Home

[Freeciv-Dev] Re: Non-ending sound (PR#1564)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Non-ending sound (PR#1564)
From: Per I Mathisen <per@xxxxxxxxxxx>
Date: Thu, 20 Jun 2002 07:46:11 -0700 (PDT)

On Thu, 20 Jun 2002, Raimar Falke wrote:
> > CVS 13 JUNE 2002 GTK+ 1.2
> >
> > If you kill civclient during startup, at the wrong time,
> > and another civclient is using the same sound system (Here: ESD),
> > the sound loop started by the killed civclient lasts forever,
> > i.e. until the last ESD user quits.
> >
> > Buggy ESD? Someone tests with SDL? I don't have it.
>
> I have also found this here with ESD. We need to use atexit to cleanup
> the sound. Patch should be trivial.

SDL already has atexit code to ensure correct cleanup on quit. I thought
(obviously erronously) that esound, being a daemon, would not have this
problem.

Yours,
Per

"It is difficult to catch a black cat in a dark room.
Especially if there is no cat there." - Confucius




[Prev in Thread] Current Thread [Next in Thread]