From e5bd8a5437811141cd02c46fcef3bf71a1bcb1ed Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Thu, 19 Apr 2001 00:52:10 +0000 Subject: [PATCH] Fixed sound buffer bug --- zsnes/src/win/winlink.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index fc61d439..dd79564e 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -518,6 +518,7 @@ InitSound() break; default: wfx.nSamplesPerSec = 11025; + SoundBufferSize=1024*2; } if(StereoSound==1) @@ -852,7 +853,7 @@ bool InitInput() if(FAILED(hr=DirectInputCreate(hInst,DIRECTINPUT_VERSION,&DInput,NULL))) { sprintf(message1,"Error initializing DirectInput\nYou may need to install DirectX 7.0a or higher located at www.microsoft.com/directx \0"); - MessageBox (NULL, message1, "Init Error" , MB_ICONERROR ); + MessageBox (NULL, message1, "DirectInput Error" , MB_ICONERROR ); switch(hr) {