audio.format=AUDIO_S16;
audio.format=AUDIO_S16SYS;
bool systemSoundInit(){  SDL_AudioSpec audio;  switch(soundQuality) {  case 1:    audio.freq = 44100;    soundBufferLen = 1470*2;    break;  case 2:    audio.freq = 22050;    soundBufferLen = 736*2;    break;  case 4:    audio.freq = 11025;    soundBufferLen = 368*2;    break;  }  audio.format=AUDIO_S16;  audio.channels = 2;  audio.samples = 1024;  audio.callback = soundCallback;  audio.userdata = NULL;  if(SDL_OpenAudio(&audio, NULL)) {    fprintf(stderr,"Failed to open audio: %s\n", SDL_GetError());    return false;  }  soundBufferTotalLen = soundBufferLen*10;  cond = SDL_CreateCond();  mutex = SDL_CreateMutex();  sdlSoundLen = 0;  systemSoundOn = true;  return true;}