> Which makes me wonder: Is there anything to prevent the overflow buffer > from overflowing? static Uint8 overflow; /* this is a hack. */ Nope. :) Actually, is there a good reason to use the overflow buffer at all? Wouldn't it be better just to keep track of how much more of sample->buffer needs to be written and memcpy() from there directly? --ryan.