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

Skip to content
Commit 5d0261ea authored by jiabin's avatar jiabin Committed by Jiabin Huang
Browse files

Add stop threshold for afe proxy record.

As the stop threshold for afe proxy record is INT_MAX, the pcm will
never stop unless we manually call pcm_stop. In that case, we can't
detect the overrun state. Set the stop threshold as buffer size to stop
pcm when overrun. And then it will fall into XRUN and restart pcm.

Bug: 79121802
Test: Make phone call with usb-c adapter and headset.
Change-Id: I1f502b9017d6e2c811f625deb3bf659d81a60ca0
parent 3a5da9d4
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