Hi all,<div><br></div><div>When meet Overrun or Underrun, PA will increase watermark. Due to some hardware limitation, the hw_ptr will not be updated in PA's request latency. So there maybe some cases "faked overrun/underrun". Take capture for example, when Pulseaudio was waken up to read new capture data from driver, and find the "available" area is much more than the record space. Although it's fast enough to read out all data in short time, PA regard that as "overrun" and increase watermark/latency step by step, that's really useless. </div>
<div><br></div><div>So attached patch used to avoid such case and only increase watermark/latency in real "overrun" case.</div><div><br></div><div>--xingchao</div>