diff options
author | neonloop | 2021-04-03 00:39:16 +0000 |
---|---|---|
committer | neonloop | 2021-04-03 00:39:16 +0000 |
commit | 92c860d1d31e4fcaaf978d7fb5fd93b657b51ee4 (patch) | |
tree | 5026ec21d6f5770122e23142e8abd4ba88cf6131 /shell/audio/sdl/sound_output.c | |
parent | 08ba753083031def20d86a6b7daff1754a4d3c8a (diff) | |
parent | e2303a4166ec3b78219115c18a0113e24fa48cf6 (diff) | |
download | snesemu-92c860d1d31e4fcaaf978d7fb5fd93b657b51ee4.tar.gz snesemu-92c860d1d31e4fcaaf978d7fb5fd93b657b51ee4.tar.bz2 snesemu-92c860d1d31e4fcaaf978d7fb5fd93b657b51ee4.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 */ |