Get the sound code working on SDL.
Static analysis with callcatcher to rip out unused functions.