Lines 313-319
Link Here
|
313 |
|
313 |
|
314 |
/* the slave_app_ptr can be far behing the slave_hw_ptr */ |
314 |
/* the slave_app_ptr can be far behing the slave_hw_ptr */ |
315 |
/* reduce mixing and errors here - just skip not catched writes */ |
315 |
/* reduce mixing and errors here - just skip not catched writes */ |
316 |
if (dmix->slave_hw_ptr < dmix->slave_appl_ptr) |
316 |
if (dmix->slave_hw_ptr <= dmix->slave_appl_ptr) |
317 |
slave_size = dmix->slave_appl_ptr - dmix->slave_hw_ptr; |
317 |
slave_size = dmix->slave_appl_ptr - dmix->slave_hw_ptr; |
318 |
else |
318 |
else |
319 |
slave_size = dmix->slave_appl_ptr + (dmix->slave_boundary - dmix->slave_hw_ptr); |
319 |
slave_size = dmix->slave_appl_ptr + (dmix->slave_boundary - dmix->slave_hw_ptr); |