--- a/src/sound.c Sun Mar 23 22:00:14 2003 +0000 +++ b/src/sound.c Mon Mar 24 06:58:25 2003 +0000 @@ -230,6 +230,11 @@ afGetSampleFormat(file, AF_DEFAULT_TRACK, &in_fmt, &format.bits); + /* XXX: libao doesn't seem to like 8-bit sounds, so we'll + * let libaudiofile make them a bit better for us */ + if(format.bits == 8) + format.bits = 16; + afSetVirtualSampleFormat(file, AF_DEFAULT_TRACK, AF_SAMPFMT_TWOSCOMP, format.bits);