mirror of https://github.com/AxioDL/boo.git
Use 45ms buffer size for WASAPI
This commit is contained in:
parent
5982a3825d
commit
c6d5015612
|
@ -220,7 +220,7 @@ struct WASAPIAudioVoiceEngine : BaseAudioVoiceEngine
|
||||||
if (FAILED(m_audClient->Initialize(
|
if (FAILED(m_audClient->Initialize(
|
||||||
AUDCLNT_SHAREMODE_SHARED,
|
AUDCLNT_SHAREMODE_SHARED,
|
||||||
0,
|
0,
|
||||||
1000000,
|
450000, /* 45ms */
|
||||||
0,
|
0,
|
||||||
(WAVEFORMATEX*)pwfx,
|
(WAVEFORMATEX*)pwfx,
|
||||||
nullptr)))
|
nullptr)))
|
||||||
|
|
Loading…
Reference in New Issue