mirror of https://github.com/snes9xgit/snes9x.git
sdl3/audio: Don't double the buffer size requested.
This commit is contained in:
parent
1dbfd2e141
commit
b83f789343
|
@ -102,7 +102,7 @@ bool S9xSDL3SoundDriver::open_device(int playback_rate, int buffer_size)
|
|||
if (buffer_size < 32)
|
||||
buffer_size = 32;
|
||||
|
||||
buffer.resize(buffer_size * 4 * audiospec.freq / 1000);
|
||||
buffer.resize(buffer_size * 2 * audiospec.freq / 1000);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue