On Monday 04 September 2006 00:33, malc wrote: > Frederick Reeve <cylix <at> solace.info> writes: > > > > > Hello. > > > > [..snip..] > > > > > Now, I would not have you thinking this patch is a ready to go. I > > am writing this email because I am having a little trouble with > > this. It outputs sound fine but it produces artafacts. I'm not > > sure of the cause. Though I think it may have to do with frame > > alignment or with the conversion process (see code). It sounds like > > its clipping at high sample volume but this is the first time I have > > done anything with audio programing. I had planed to submit a > > completed patch but... anyway if anyone can point me in the right > > direction I would appreciate it. Alternately if you just want to > > fix it that would be great to. > > Implemented the ideas described in previous post, latency is no good > (something to be expected) but the quality seems to be fine now. > > Fabrice: i think this can be safely applied. > > -- > mailto:[EMAIL PROTECTED]
if (info->sign) { - memset (buf, 0x00, len << info->shift); + memset (buf, len << info->shift, 0x00); } else { if (info->bits == 8) { - memset (buf, 0x80, len << info->shift); + memset (buf, len << info->shift, 0x80); } This part looks wrong (swapped parameters) Greetings Peter _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel