diff options
author | neonloop | 2021-03-31 21:15:44 +0000 |
---|---|---|
committer | neonloop | 2021-03-31 21:15:44 +0000 |
commit | f3062732940cf086e1961aa95ac62adfb6f031f5 (patch) | |
tree | 74f0dc135e830ba1699b422447150a0f859ea200 /shell/audio/sdl/sound_output.c | |
parent | 257175870d76d889de9b5f906ab16a15420a48fa (diff) | |
parent | ae67b055fec6a8cc843554d8190e018a6ae9b89d (diff) | |
download | snes9x2002-f3062732940cf086e1961aa95ac62adfb6f031f5.tar.gz snes9x2002-f3062732940cf086e1961aa95ac62adfb6f031f5.tar.bz2 snes9x2002-f3062732940cf086e1961aa95ac62adfb6f031f5.zip |
Merge branch 'eggs-improvements' into trimui-s
Diffstat (limited to 'shell/audio/sdl/sound_output.c')
-rw-r--r-- | shell/audio/sdl/sound_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/audio/sdl/sound_output.c b/shell/audio/sdl/sound_output.c index 0758718..0e0d504 100644 --- a/shell/audio/sdl/sound_output.c +++ b/shell/audio/sdl/sound_output.c @@ -7,7 +7,7 @@ #include "sound_output.h" -#define UNDERRUN_THRESHOLD 0.5 +#define UNDERRUN_THRESHOLD 0.75 static int32_t BUFFSIZE; static uint8_t *buffer; @@ -63,7 +63,7 @@ uint32_t Audio_Init() { SDL_AudioSpec aspec, obtained; - BUFFSIZE = (SOUND_SAMPLES_SIZE * 2 * 2) * 4; + BUFFSIZE = (SOUND_SAMPLES_SIZE * 2 * 2) * 8; buffer = (uint8_t *) malloc(BUFFSIZE); /* Add some silence to the buffer */ |