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: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] Sound8
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Feb 2002 15:23:37 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Feb 18, 2002 at 01:29:35PM +0100, Per I. Mathisen wrote:
> On Mon, 18 Feb 2002, Raimar Falke wrote:
> > The better one would be to convert all sound events to real events and
> > just add the ability to a sound to an event.
> 
> Sorry, I don't understand.

Replace all send_audio at the server side with notify_* calls. Add
events to do this. In handle_chat_msg add something like
    audio_play_sound(get_sound_tag_for_event(packet->event),
                     get_alt_sound_tag_for_event(packet->event));
Remove audio_packet.

> > > Here is a new version of the patch. I've been unable to find any reason
> > > for the delay bug that you found with the sdl plugin, Raimar, but it would
> > > be nice to hear if the cacheing stuff reduces this delay for you.
> >
> > No it doesn't. rpm shows:
> 
> What cpu/sound card do you use?

P2-400
00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)

But I don't think this info will help.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Sit, disk, sit. Good boy. Now spin up. Very good. Here's a netscape
  cookie for you. Fetch me some data. Come on, you can do it. No, not that
  data. Bad disk. Bad." 
    -- Calle Dybedahl, alt.sysadmin.recovery


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