Use 45ms buffer size for WASAPI

This commit is contained in:
Jack Andersen 2017-02-14 22:28:10 -10:00
parent 5982a3825d
commit c6d5015612
1 changed files with 1 additions and 1 deletions

View File

@ -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)))