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
Loading
Please register or sign in to comment