commit | f6f7e12b5e3c991e9f7e477cdbdde74ecdf37141 | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Mon May 22 14:43:59 2017 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Jun 09 02:32:19 2017 -0700 |
tree | dd778477de4adc31c5fcac5986551ced66b75df7 | |
parent | 9395b74a015fbe30d7892a6e25f608d807c03744 [diff] |
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