WILL posted an example earlier. Look for Mix_OpenAudio in this thread.

If someone posts an example, please make sure that what you have tried is not already mentioned.