In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer.
Moved the software mixing code (used by crossfading) to a separate library.