# HG changeset patch # User Nathan Walp # Date 1048489105 0 # Node ID 77b04219f3e2022835443038a28cbd1a73466384 # Parent 249382064693c494b05849f7f8a4c3fda59b3f77 [gaim-migrate @ 5208] someone please let me know if this sounds better with 8-bit sounds (like the ones that come with winaim) committer: Tailor Script diff -r 249382064693 -r 77b04219f3e2 src/sound.c --- 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);