hal: initialize value of stop_threshold for VoIP
The value of stop_threshold for VoIP is not initialized, then it will be set to default value equals to frames counts during pcm_open. If all frames are rendered out, then it can trigger XRUN and stop VoIP stream. When the stream is restarted, path configuration would fail and cause RX mute. Fix by initializing stop_threshold and avail_min value to INT_MAX and default period_size for VoIP. CRs-Fixed: 2130594 Change-Id: I141643b8fd653c4c4b27f9812b8f6a2f96b98bc0
Loading
Please register or sign in to comment