Re: [Freeciv-Dev] adding sound
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Thanks for the advice! I'm quite new to unix programming, so I didn't know
the possibility.
I wrote a small piece of code and it works fine. I'm going to try to run
it parallel to the client
program, so that the user needn't wait until the sound is completely
played.
So far, I added some combat sounds and a sound, when a city is built.
Looks quite easy..
basti
>
> Why bother with wavs? That requires you another layer of overhead, and
> the
> program wavplay. Simply convert the sounds you want to use to .au's
> (which
> have the benefit of typically being about the same size or smaller than
> .wav's), then send them directly to /dev/audio it's as simple as that.
|
|