Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [Patch] Sound8
Home

[Freeciv-Dev] Re: [Patch] Sound8

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "freeciv-dev@xxxxxxxxxxx" <freeciv-dev@xxxxxxxxxxx>
Cc: rf13@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [Patch] Sound8
From: Anthony Ferrand <Anthony-Ferrand@xxxxxxxxxx>
Date: Tue, 12 Feb 2002 13:39:11 +0100

Raimar Falke wrote:
> 
> On Tue, Feb 12, 2002 at 12:04:37PM +0100, Anthony Ferrand wrote:
> > Raimar Falke wrote:
> > >
> > > On Fri, Feb 01, 2002 at 03:21:57PM +0100, Raimar Falke wrote:
> > > >
> > > > I have spent the previous days working on the sound patch. The newest
> > > > version 8 is now in the incoming (too large for the list). Changes
> > > > since version 7 include:
> > > >  - reworked audio* to allow a real plugin mechanism without special
> > > >  cases and #ifdefs (this also allows to change the plugin at runtime
> > > >  just one call to audio_select_plugin())
> > > >  - extend README.sound
> > > >  - add sounds for all improvements (formerly only wonders)
> > > >  - add alternative fight and move tags
> > > >  - rename the event tags to be consistent (at least a bit)
> > > >  - add a mechanism to map "normal" events to sound events
> > > >  - sound is now always be enabled
> > > >  - a lot of other small changes
> > > >
> > > > TODO:
> > > >  - adjust civ2sounds.spec to use the new names (I don't have a civ2 cd
> > > >  handy for this)
> > >
> > > > Please test and review.
> > >
> > > To put it more explicit: I won't commit this patch without review.

> Does it work if you issue
>   aclocal; autoheader; autoconf; automake
> before the configure?

oops...

Now it works! But I have to add #define FALSE 1 in audio_sdl.c et
audio_esd.c to get Freeciv compiled.

Here is what I get when I run civclient:
2: Plugin 'esd' is now selected
2: audio_play_music('music_start', '(null)')
2: audio_play_sound('e_game_start', '(null)')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('e_city_build', '-')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('m_explorer', 'm_generic')
2: last message repeated 2 times
2: audio_play_sound('m_settlers', 'm_generic')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('m_explorer', 'm_generic')
2: last message repeated 2 times
2: audio_play_sound('e_turn_bell', '(null)')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('m_explorer', 'm_generic')
2: audio_play_sound('e_hut_city', '-')
2: audio_play_sound('m_explorer', 'm_generic')
2: audio_play_sound('m_explorer', 'm_generic')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('e_city_build', '-')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('m_explorer', 'm_generic')
2: last message repeated 2 times
2: audio_play_sound('m_settlers', 'm_generic')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('m_explorer', 'm_generic')
2: last message repeated 2 times
2: audio_play_sound('m_horsemen', 'm_generic')
2: audio_play_sound('E_first_contact', '(null)')
2: audio_play_sound('m_horsemen', 'm_generic')
2: audio_play_sound('m_horsemen', 'm_generic')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('e_city_build', '-')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('m_explorer', 'm_generic')
2: last message repeated 2 times
2: audio_play_sound('m_horsemen', 'm_generic')
2: audio_play_sound('m_horsemen', 'm_generic')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('m_explorer', 'm_generic')
2: last message repeated 2 times
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('m_explorer', 'm_generic')
2: last message repeated 2 times
2: audio_play_sound('f_horsemen', 'f_generic')
2: audio_play_sound('f_explorer', 'f_generic')
2: audio_play_sound('e_unit_focus', '(null)')
2: audio_play_sound('b_barracks_i', 'b_generic')
2: audio_play_sound('e_report', '(null)')
[just some turns]

when I quit:
{ss} player for sample <01> not found
2: audio_play_sound('e_game_quit', '(null)')
{ss} player for sample <01> not found

What do you need exactly?

Regards,

Anthony

-- 
http://www.freeciv.fr.st


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