Commit 30cbbd98 authored by Val Doroshchuk's avatar Val Doroshchuk Committed by VaL Doroshchuk
Browse files

WindowsAudioOutput: Introduce QT_WAVE_BUFFERS env var


Currently by default 5 wave buffers are created where each buffer
contains buffer_size/5 bytes.
If total buffer size is small enough, playing of these wave buffers might be
finished before refilling them.
Which leads crackling and another noise.

Introduced QT_WAVE_BUFFERS env var which contains number of wave
buffers. Must not be less than 5.

If number of wave buffers is big enough, it ensures that there is
always data to play.

Task-number: QTBUG-45174
Change-Id: I66bf997411f858fbff822394bb748dea2086060e
Reviewed-by: default avatarOliver Wolff <oliver.wolff@qt.io>
parent 477125de
Showing with 22 additions and 12 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment