summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Scott Stone <tafoid@users.noreply.github.com>2011-05-19 23:58:10 +0000
committer Scott Stone <tafoid@users.noreply.github.com>2011-05-19 23:58:10 +0000
commitaf20a718d30a0b05583f9cecc4ff77c1f86e6ffb (patch)
tree56ac42471aef3393085ef4c36f7fd6c6ea5a58ec /src
parentcfd6731fa859c73c9a00defc70112592035da7f9 (diff)
Change default value/maximum setting for audio_latency in SDL to match that of baseline. (no whatsnew)
Diffstat (limited to 'src')
-rw-r--r--src/osd/sdl/sdlmain.c2
-rw-r--r--src/osd/sdl/sound.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/sdl/sdlmain.c b/src/osd/sdl/sdlmain.c
index c99726cef18..0a3816a1f7b 100644
--- a/src/osd/sdl/sdlmain.c
+++ b/src/osd/sdl/sdlmain.c
@@ -189,7 +189,7 @@ const options_entry sdl_options::s_option_entries[] =
// sound options
{ NULL, NULL, OPTION_HEADER, "SOUND OPTIONS" },
- { SDLOPTION_AUDIO_LATENCY, "3", OPTION_INTEGER, "set audio latency (increase to reduce glitches, decrease for responsiveness)" },
+ { SDLOPTION_AUDIO_LATENCY, "2", OPTION_INTEGER, "set audio latency (increase to reduce glitches, decrease for responsiveness)" },
// keyboard mapping
{ NULL, NULL, OPTION_HEADER, "SDL KEYBOARD MAPPING" },
diff --git a/src/osd/sdl/sound.c b/src/osd/sdl/sound.c
index e75a4bf50ec..f468bb68997 100644
--- a/src/osd/sdl/sound.c
+++ b/src/osd/sdl/sound.c
@@ -37,7 +37,7 @@ static int stream_in_initialized = 0;
static int stream_loop = 0;
// maximum audio latency
-#define MAX_AUDIO_LATENCY 10
+#define MAX_AUDIO_LATENCY 5
//============================================================
// LOCAL VARIABLES