"Unfreeze previous game on start and freeze game on exit", 0 },
{ "audio-rate", 'u', POPT_ARG_INT, 0, 14,
"Audio output rate", "HZ" },
+ { "audio-buffer-size", 'b', POPT_ARG_INT, 0, 15,
+ "Audio output buffer size", "SAMPLES" },
POPT_TABLEEND
};
Settings.JoystickEnabled = FALSE;
Settings.SoundPlaybackRate = 22050;
Settings.Stereo = TRUE;
- Settings.SoundBufferSize = 0;
+ Settings.SoundBufferSize = 512; // in samples
Settings.CyclesPercentage = 100;
Settings.DisableSoundEcho = FALSE;
Settings.APUEnabled = FALSE;
case 14:
Settings.SoundPlaybackRate = atoi(poptGetOptArg(optCon));
break;
+ case 15:
+ Settings.SoundBufferSize = atoi(poptGetOptArg(optCon));
+ break;
case 100:
scancode = atoi(poptGetOptArg(optCon));
break;