software audio mixer

A new custom software mixer, supports playing streams at any rate, which is needed to emulate the directsound SetFrequency effects (when a ride malfunctions and the music slows down and stops). The speex resampler is added for this. Currently samples can be played and their volumes and looping set on an arbitrary number of channels. Support for FLAC and other streaming formats can be added.
Oh, the loop can be -1, 0, 1, etc It is similar to how sdl_mixer library is done, -1 is infinite, 0 is just play, 1 is loop once, 2 loop twice etc.