[Freeciv-Dev] Sound patch v1
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Originally to: David Bryan Smith
by provide.net (CommuniGate Pro SMTP 3.5b5)
with ESMTP id 6269158 for
dbsmith@xxxxxxxxxxx; Wed, 05 Dec 2001
16:46:58 -0500
Received: from pi (localhost [127.0.0.1])
by pi.glockenspiel.complete.org (Postfix)
with ESMTP
id 143113B938; Wed, 5 Dec 2001 16:46:26
-0500 (EST)
Received: with LISTAR (v1.0.0; list
freeciv-dev); Wed, 05 Dec 2001 16:46:25 -0500
(EST)
Delivered-To:
virtual-freeciv.org-freeciv-dev@xxxxxxxxxxxx
Received: from zevs.idi.ntnu.no (unknown
[129.241.110.12])
by pi.glockenspiel.complete.org (Postfix)
with ESMTP id 8BED23B853
for <freeciv-dev@xxxxxxxxxxx>; Wed, 5 Dec
2001 16:46:24 -0500 (EST)
Received: from hades.idi.ntnu.no
(IDENT:42580@xxxxxxxxxxxxxxxxx
[129.241.110.10])
by zevs.idi.ntnu.no (8.9.3/8.9.3) with ESMTP
id WAA10470
for <freeciv-dev@xxxxxxxxxxx>; Wed, 5 Dec
2001 22:45:51 +0100 (MET)
Date: Wed, 5 Dec 2001 22:45:51 +0100 (MET)
From: "Per I. Mathisen"
<Per.Inge.Mathisen@xxxxxxxxxxx>
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Sound patch v1
Message-ID:
0112052212560.26068-101000@xxxxxxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED;
UNDARY="-559023410-851401618-1007588751=:661"
X-archive-position: 5106
X-listar-version: Listar v1.0.0
Sender: freeciv-dev-bounce@xxxxxxxxxxx
Errors-To: freeciv-dev-bounce@xxxxxxxxxxx
X-original-sender:
Per.Inge.Mathisen@xxxxxxxxxxx
Precedence: bulk
X-list: freeciv-dev
This message is in MIME format. The first
part should be readable text,
while the remaining parts are likely
unreadable without MIME-aware tools.
Send mail to
mime@xxxxxxxxxxxxxxxxxxxxxxxxxxxx for more
info.
---559023410-851401618-1007588751=:661
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi there,
I've reworked my old sound patch from way
back when(*) to the point where
it now works (well, just barely). It plays
sounds for the intro, end
of turn and for wonders. It uses a new sound
packet, so it breaks
backwards compatibility.
I've written support for Esound (GNOME sound
daemon), aRts (KDE sound
daemon) and raw /dev/dsp, but as of now, I
would not recommend using it
with anything other than Esound. Adding
support for other targets should
be very easy. See "README.sound".
To use it, you also need the libaudiofile
library - comes with both esound
and aRts. You also need Civ2, as you must
copy its sounds into your
data/civ2 directory and start civclient with
the "--audio civ2sounds.spec"
parameter. Have not started looking at the
freely available sounds yet.
Outstanding issues (probably plenty more than
this):
- aRts probably broken
- aRts and dsp targets cannot loop sound
(probably no easy way to fix)
- configure does not check for
libaudiofile.h
- poorly tested yet (bug'o'rama)
- the patch includes my previous nitpick
spelling patch (please apply!:)
- not yet added a capability string
Please read and comment! I want feedback on
the overall architecture.
Questions:
- what other events deserve sounds? (nukes,
game victory, revolution,...)
- should all units have their own move
sounds? (I think perhaps a single
move sound for all units is good enough)
- is the architecture ok? PLEASE tell me now
rather than later
- is it well enough documented?
- does all those file reads slow freeciv
down too much? I can add some
cacheing but that will really hurt memory
usage
Yours,
Per
* Yes I have looked at the four (sic!) sound
patches to have arrived after
I first started mine two years ago, and found
them all wanting.
"It is a miracle that curiosity survives
formal education."
-- Albert Einstein
---559023410-851401618-1007588751=:661
Content-Type: APPLICATION/octet-stream;
name="sound5.patch.gz"
Content-Transfer-Encoding: BASE64
Content-ID:
GSO.4.31.0112052245510.661@xxxxxxxxxxxxxxxxx>
Content-Description:
Content-Disposition: attachment;
filename="sound5.patch.gz"
Attached file: sound5.patch.gz
|
|