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 0d6454087e
commit c3afb85af4
1 changed files with 2 additions and 2 deletions

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