[gameprogrammer] mixing sounds

Hey,

I was wondering does anyone know how to properly mix sound data?

I'm working with some raw wav data and i had heard that just adding sound
wavs together mixes them, but what happens in the case of overflow? (is that
clipping?)

It seems like when i average the wav data that it sounds like it mixes ok so
not sure what is the best way :P

TIA!
Alan

Other related posts: