commit | ee9ba87d9b964eb518a836c848907b1c83991e93 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Nov 15 19:04:03 2011 -0800 |
committer | Simon Wilson <simonwilson@google.com> | Wed Nov 16 14:26:33 2011 -0800 |
tree | b432f63875e68fa5593ee319e591fb412b2ae07e | |
parent | 52510160f90bb583f4eaf1392533b8a2108323c7 [diff] |
pcm: fix underrun detection The changes made for mmap mode broke the underrun detection by pushing the stop_threshold beyong the buffer size. This caused the hw_ptr to go past the app_ptr and pcm_get_htimestamp() to report wrong values in case of underrun. Change-Id: Ic671fdd09f3afb8a301a391b48788fd9bc99322d