mirror of https://github.com/odrling/Aegisub
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:
parent
0d6454087e
commit
c3afb85af4
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue