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