change buffer length/wanted latency in the dsound2 audio player to 80/4 (down from 100/5); should make it a bit more responsive

Originally committed to SVN as r2812.
This commit is contained in:
Karl Blomster 2009-04-17 19:40:29 +00:00
parent 13c59b5af0
commit 6a69da3331

View file

@ -159,8 +159,8 @@ unsigned int __stdcall DirectSoundPlayer2Thread::ThreadProc(void *parameter)
}
#define WANTED_LATENCY 100
#define BUFFER_LENGTH 5
#define WANTED_LATENCY 80
#define BUFFER_LENGTH 4
// The buffer will hold BUFFER_LENGTH times WANTED_LATENCY milliseconds of audio