medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 59a80c8808b32d35453d48fa6ccbf6a7b0f8ed94
parent e95be30d56f79f2c9eda79b28549225d2ef9e36f
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Jan 26 23:49:46 +0200

Only use 2, but larger, buffers in XAudio2 output thread

Diffstat:
win32_audio_output.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32_audio_output.cc b/win32_audio_output.cc @@ -67,7 +67,7 @@ static THREAD( audio_output_thread ) { AudioOutputDevice * device = ( AudioOutputDevice * ) data; // double buffering - s16 buffers[ 3 ][ 256 ]; + s16 buffers[ 2 ][ 512 ]; u32 buffer_idx = 0; for( ;; ) { for( ;; ) {