The clients compile and create two binaries - cfsndserv and cfsndserv_alsa9 - .
I have installed the sound archive from the sourceforge repository and they play fine as
terminal wrote:bash-3.00# for i in *.raw; do
> [ -f "$i" ] || continue
> echo "$i"
> aplay -t raw "$i"
> sleep 2s
> done
blip.raw
Playing raw data 'blip.raw' : Unsigned 8 bit, Rate 8000 Hz, Mono
boink2.raw
Playing raw data 'boink2.raw' : Unsigned 8 bit, Rate 8000 Hz, Mono
bugle_charge.raw
< snip >
The alsa versioning is like 0.4.x, 0.5.x, 0.9.x, 1.0.x . My Box is running three heavily updated minimalist Puppy Linux in traditional installations to HDD on 20 GB partitions with 7-10GB in /usr . My alsa versions are 1.0.20 and 1.0.23 .
--disable-alsa9 fails because alsa is meant even older alsa-0.5 and alsa9 newer alsa-0.9 as i could find out on the net . Even implementing the 7 missing #defines from alsa-driver-0.5 and 1 missing from alsa-libs-0.5 makes gcc not complain about that they are missing, but the final link to libasound fails (of course) .
Now that i read cfsndserv.c from the actual source of 1.70.0 i find this :
My question is : since when or what version of the client sound stopped working or what do i have to do to make it work./**
* Music is not supported by the legacy (non-SDL_mixer) sound systems.
*
* @param name A name of a song to play that does not include anything like
* path or file extensions. It is up to this function to map the
* name to a file.
*/
void play_music(const char* name) {
#ifdef SOUND_DEBUG
fprintf(stderr, "play_music: no music support for this sound system.\n");
fflush(stderr);
#endif
return;
}
my sndconfig wrote:# Crossfire sound server settings
# Please note, that not everything will work
stereo: 0
bits: 8
signed: 0
frequency: 11025
buffers: 100
buflen: 1024
simultaneously: 4