Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dac14ded authored by Zhou Song's avatar Zhou Song Committed by Gerrit - the friendly Code Review server
Browse files

hal: set initial value of stop_threshold for compress voip

Member stop_threshold of pcm_config for compress voip is not
initialized, then it will be set to default value equals to
buffer size during pcm_open. XRUN may happen and stop the
stream due to delayed writes to fill buffers. When stream is
restarted, path configuration could fail and cause RX mute.
Set the intial value to INT_MAX to avoid XRUN.

Change-Id: Ic405390f43b7d97ffcdfa6f3b749376f8220e24a
CRs-Fixed: 2047671
parent 6de70981
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment