14 #include "../stdafx.h"
21 #include "../safeguards.h"
34 MxMixSamples(stream, len / 4);
41 const char *s =
SdlOpen(SDL_INIT_AUDIO);
42 if (s != NULL)
return s;
45 spec.format = AUDIO_S16SYS;
49 MxInitialize(spec.freq);
50 SDL_CALL SDL_OpenAudio(&spec, &spec);
51 SDL_CALL SDL_PauseAudio(0);
57 SDL_CALL SDL_CloseAudio();